X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/05bdd3ca32b67c218f7d58c2def2661867b4d1fa..0b461b9482695531611ca2ffca78ac4963e33a63:/tests.py?ds=sidebyside diff --git a/tests.py b/tests.py index b79534f..81417ff 100644 --- a/tests.py +++ b/tests.py @@ -78,6 +78,7 @@ class TemplateTestCase(TestCase): 'simple02': ('{% extends "simple01" %}', {}, '%sSimple' % blog.title), 'simple03': ('{% embed penfield.blog with "embed000" %}', {}, settings.TEMPLATE_STRING_IF_INVALID), 'simple04': ('{% embed penfield.blog 1 %}', {}, settings.TEMPLATE_STRING_IF_INVALID), + 'simple05': ('{% embed penfield.blog with "embed01" %}{% embed blog %}', {'blog': blog}, blog.title), # Kwargs 'kwargs01': ('{% embed penfield.blog with "embed02" %}{% embed penfield.blog 1 var1="hi" var2=lo %}', {'lo': 'lo'}, '%shilo' % blog.title),