diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-31 17:29:49 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-31 17:29:49 +0000 |
| commit | 6390155f5c619d708b3dab877388c65ca65d5bcb (patch) | |
| tree | 7523f8e1188bee4fe8de2d5c2e519d90ab7311db /tests/regressiontests/templates/tests.py | |
| parent | ec525e37199803a90ba39b9ab4c7acbe9abaf9b7 (diff) | |
Added a couple of extra tests to ensure url tag robustness. These are an
attempt to verify #8726.
Refs #8726.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/templates/tests.py')
| -rw-r--r-- | tests/regressiontests/templates/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py index e779cea607..c6e915bb56 100644 --- a/tests/regressiontests/templates/tests.py +++ b/tests/regressiontests/templates/tests.py @@ -891,6 +891,8 @@ class Templates(unittest.TestCase): 'url03': ('{% url regressiontests.templates.views.index %}', {}, '/url_tag/'), 'url04': ('{% url named.client client.id %}', {'client': {'id': 1}}, '/url_tag/named-client/1/'), 'url05': (u'{% url метка_оператора v %}', {'v': u'Ω'}, '/url_tag/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4/%CE%A9/'), + 'url06': (u'{% url метка_оператора_2 tag=v %}', {'v': u'Ω'}, '/url_tag/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4/%CE%A9/'), + 'url07': (u'{% url regressiontests.templates.views.client2 tag=v %}', {'v': u'Ω'}, '/url_tag/%D0%AE%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4/%CE%A9/'), # Failures 'url-fail01': ('{% url %}', {}, template.TemplateSyntaxError), |
