summaryrefslogtreecommitdiff
path: root/tests/regressiontests/templates/tests.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2006-12-04 18:04:55 +0000
committerJason Pellerin <jpellerin@gmail.com>2006-12-04 18:04:55 +0000
commit261fb45ba8ce5ad7c9a0a73c286077c779364b8d (patch)
tree6d9e7e60978a06d36bfc5e14b6ddb11359e487d9 /tests/regressiontests/templates/tests.py
parentf8217026f9618adb65ab2d517025e87b98ed2fbe (diff)
[multi-db] Merge trunk to [3875]. Some tests still failing.
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/templates/tests.py')
-rw-r--r--tests/regressiontests/templates/tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py
index 368a46b8fb..e46b715490 100644
--- a/tests/regressiontests/templates/tests.py
+++ b/tests/regressiontests/templates/tests.py
@@ -170,6 +170,9 @@ class Templates(unittest.TestCase):
# Escaped backslash using known escape char
'basic-syntax35': (r'{{ var|default_if_none:"foo\now" }}', {"var": None}, r'foo\now'),
+ # Empty strings can be passed as arguments to filters
+ 'basic-syntax36': (r'{{ var|join:"" }}', {'var': ['a', 'b', 'c']}, 'abc'),
+
### COMMENT TAG ###########################################################
'comment-tag01': ("{% comment %}this is hidden{% endcomment %}hello", {}, "hello"),
'comment-tag02': ("{% comment %}this is hidden{% endcomment %}hello{% comment %}foo{% endcomment %}", {}, "hello"),