diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-04-24 21:08:13 +0000 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-04-24 21:08:13 +0000 |
| commit | 921d7f08b915fdce35caccf531a635151e3562ee (patch) | |
| tree | 3389f6c42cddb645ecae6898de466ca86414126a /tests | |
| parent | eb351ac9cba2d6b2750aecb4353ba482d6dca87f (diff) | |
Removed some leftover references to old-syntax ssi template tag tests. Refs #18037.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/templates/tests.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py index f0845f1ba6..34c8d7aa85 100644 --- a/tests/regressiontests/templates/tests.py +++ b/tests/regressiontests/templates/tests.py @@ -1623,15 +1623,6 @@ class Templates(unittest.TestCase): 'static-statictag01': ('{% load static %}{% static "admin/base.css" %}', {}, urljoin(settings.STATIC_URL, 'admin/base.css')), 'static-statictag02': ('{% load static %}{% static base_css %}', {'base_css': 'admin/base.css'}, urljoin(settings.STATIC_URL, 'admin/base.css')), } - # Until Django 1.5, the ssi tag takes an unquoted constant in argument, - # and there's no way to escape spaces. As a consequence it's impossible - # to include a file if its absolute path contains a space, as - # demonstrated by tests old-ssi08 and old-ssi09. - # If the patch to the Django chekout contains a space, the following - # tests will raise an exception too. - if ' ' in basedir: - for test_name in 'old-ssi01', 'old-ssi02', 'old-ssi06', 'old-ssi07': - tests[test_name] = tests[test_name][:-1] + (template.TemplateSyntaxError,) return tests class TemplateTagLoading(unittest.TestCase): |
