mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
new-admin: Fixed spacing issues in template tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7ee9f5c7c5
commit
fa0436809c
@ -102,7 +102,6 @@ TEMPLATE_TESTS = {
|
|||||||
#Escaped string as argument
|
#Escaped string as argument
|
||||||
'basic-syntax30': (r"""{{ var|default_if_none:" endquote\" hah" }}""", {"var": None}, ' endquote" hah'),
|
'basic-syntax30': (r"""{{ var|default_if_none:" endquote\" hah" }}""", {"var": None}, ' endquote" hah'),
|
||||||
|
|
||||||
|
|
||||||
### IF TAG ################################################################
|
### IF TAG ################################################################
|
||||||
'if-tag01': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": True}, "yes"),
|
'if-tag01': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": True}, "yes"),
|
||||||
'if-tag02': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": False}, "no"),
|
'if-tag02': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": False}, "no"),
|
||||||
@ -246,6 +245,7 @@ TEMPLATE_TESTS = {
|
|||||||
you
|
you
|
||||||
gentlemen.
|
gentlemen.
|
||||||
"""),
|
"""),
|
||||||
|
|
||||||
# simple translation of a string delimited by '
|
# simple translation of a string delimited by '
|
||||||
'i18n01': ("{% load i18n %}{% trans 'xxxyyyxxx' %}", {}, "xxxyyyxxx"),
|
'i18n01': ("{% load i18n %}{% trans 'xxxyyyxxx' %}", {}, "xxxyyyxxx"),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user