diff options
| author | Chris Beaven <smileychris@gmail.com> | 2012-02-21 02:59:05 +0000 |
|---|---|---|
| committer | Chris Beaven <smileychris@gmail.com> | 2012-02-21 02:59:05 +0000 |
| commit | 0e54c23caf21e5680aff68660b5d5b5937b98262 (patch) | |
| tree | 617db57a36ccbe9e8df5d8f94aee64f6f3149c66 /tests | |
| parent | 7d7d2d354c6670b645a14a7bd941c5f2cac79063 (diff) | |
Fixed #17660 -- Standardize extends tag token parsing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/templates/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py index 631c58c3a3..d5de05ca09 100644 --- a/tests/regressiontests/templates/tests.py +++ b/tests/regressiontests/templates/tests.py @@ -1204,6 +1204,9 @@ class Templates(unittest.TestCase): 'inheritance40': ("{% extends 'inheritance33' %}{% block opt %}new{{ block.super }}{% endblock %}", {'optional': 1}, '1new23'), 'inheritance41': ("{% extends 'inheritance36' %}{% block opt %}new{{ block.super }}{% endblock %}", {'numbers': '123'}, '_new1_new2_new3_'), + # Expression starting and ending with a quote + 'inheritance42': ("{% extends 'inheritance02'|cut:' ' %}", {}, '1234'), + ### LOADING TAG LIBRARIES ################################################# 'load01': ("{% load testtags subpackage.echo %}{% echo test %} {% echo2 \"test\" %}", {}, "test test"), 'load02': ("{% load subpackage.echo %}{% echo2 \"test\" %}", {}, "test"), |
