mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +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
|
||||
'basic-syntax30': (r"""{{ var|default_if_none:" endquote\" hah" }}""", {"var": None}, ' endquote" hah'),
|
||||
|
||||
|
||||
### IF TAG ################################################################
|
||||
'if-tag01': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": True}, "yes"),
|
||||
'if-tag02': ("{% if foo %}yes{% else %}no{% endif %}", {"foo": False}, "no"),
|
||||
@ -245,7 +244,8 @@ TEMPLATE_TESTS = {
|
||||
are
|
||||
you
|
||||
gentlemen.
|
||||
""" ),
|
||||
"""),
|
||||
|
||||
# simple translation of a string delimited by '
|
||||
'i18n01': ("{% load i18n %}{% trans 'xxxyyyxxx' %}", {}, "xxxyyyxxx"),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user