summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/othertests/templates.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/othertests/templates.py b/tests/othertests/templates.py
index 729105d8fc..1211cde86b 100644
--- a/tests/othertests/templates.py
+++ b/tests/othertests/templates.py
@@ -134,6 +134,12 @@ TEMPLATE_TESTS = {
'ifnotequal03': ("{% ifnotequal a b %}yes{% else %}no{% endifnotequal %}", {"a": 1, "b": 2}, "yes"),
'ifnotequal04': ("{% ifnotequal a b %}yes{% else %}no{% endifnotequal %}", {"a": 1, "b": 1}, "no"),
+ ### INCLUDE TAG ###########################################################
+ 'include01': ('{% include "basic-syntax01" %}', {}, "something cool"),
+ 'include02': ('{% include "basic-syntax02" %}', {'headline': 'Included'}, "Included"),
+ 'include03': ('{% include template_name %}', {'template_name': 'basic-syntax02', 'headline': 'Included'}, "Included"),
+ 'include04': ('a{% include "nonexistent" %}b', {}, "ab"),
+
### INHERITANCE ###########################################################
# Standard template with no inheritance