summaryrefslogtreecommitdiff
path: root/tests/regressiontests/templates/tests.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-02-21 23:42:57 +0000
committerJannis Leidel <jannis@leidel.info>2010-02-21 23:42:57 +0000
commitb459f5b7e3be65bbd554e03626ff255d4a68e9fc (patch)
tree51a6e3793762e7f805cd7ab5532937d480eaea3a /tests/regressiontests/templates/tests.py
parenta88cbc141d544ba437545a8470282e16ddc1d3e3 (diff)
Fixed #5971 - Fixed inconsistent behaviour of the TokenParser when parsing filters that follow constant strings or variables. Thanks Dmitri Fedortchenko, Adam Vandenberg and Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/templates/tests.py')
-rw-r--r--tests/regressiontests/templates/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py
index b2ba9f6f90..925fc57084 100644
--- a/tests/regressiontests/templates/tests.py
+++ b/tests/regressiontests/templates/tests.py
@@ -22,7 +22,7 @@ from django.utils.tzinfo import LocalTimezone
from context import context_tests
from custom import custom_filters
-from parser import filter_parsing, variable_parsing
+from parser import token_parsing, filter_parsing, variable_parsing
from unicode import unicode_tests
from smartif import *
@@ -37,7 +37,9 @@ import filters
__test__ = {
'unicode': unicode_tests,
'context': context_tests,
+ 'token_parsing': token_parsing,
'filter_parsing': filter_parsing,
+ 'variable_parsing': variable_parsing,
'custom_filters': custom_filters,
}