From fa0436809c85966101a52e42873e08c4ae00c188 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 24 Nov 2005 03:40:04 +0000 Subject: [PATCH] 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 --- tests/othertests/templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/othertests/templates.py b/tests/othertests/templates.py index b58f62cc8a..c1dbdde64f 100644 --- a/tests/othertests/templates.py +++ b/tests/othertests/templates.py @@ -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"),