summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/othertests/templates.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/othertests/templates.py b/tests/othertests/templates.py
index 01b77db401..07b41f5b10 100644
--- a/tests/othertests/templates.py
+++ b/tests/othertests/templates.py
@@ -92,6 +92,9 @@ TEMPLATE_TESTS = {
# Raise TemplateSyntaxError for empty block tags
'basic-syntax28': ("{% %}", {}, template.TemplateSyntaxError),
+ # Chained filters, with an argument to the first one
+ 'basic-syntax29': ('{{ var|removetags:"b i"|upper|lower }}', {"var": "<b><i>Yes</i></b>"}, "yes"),
+
### IF TAG ################################################################
'if-tag01': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": True}, "yes"),
'if-tag02': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": False}, "no"),