Skip to content

Commit 921d7f0

Browse files
committed
Removed some leftover references to old-syntax ssi template tag tests. Refs django#18037.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent eb351ac commit 921d7f0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/regressiontests/templates/tests.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,15 +1623,6 @@ def get_template_tests(self):
16231623
'static-statictag01': ('{% load static %}{% static "admin/base.css" %}', {}, urljoin(settings.STATIC_URL, 'admin/base.css')),
16241624
'static-statictag02': ('{% load static %}{% static base_css %}', {'base_css': 'admin/base.css'}, urljoin(settings.STATIC_URL, 'admin/base.css')),
16251625
}
1626-
# Until Django 1.5, the ssi tag takes an unquoted constant in argument,
1627-
# and there's no way to escape spaces. As a consequence it's impossible
1628-
# to include a file if its absolute path contains a space, as
1629-
# demonstrated by tests old-ssi08 and old-ssi09.
1630-
# If the patch to the Django chekout contains a space, the following
1631-
# tests will raise an exception too.
1632-
if ' ' in basedir:
1633-
for test_name in 'old-ssi01', 'old-ssi02', 'old-ssi06', 'old-ssi07':
1634-
tests[test_name] = tests[test_name][:-1] + (template.TemplateSyntaxError,)
16351626
return tests
16361627

16371628
class TemplateTagLoading(unittest.TestCase):

0 commit comments

Comments
 (0)