diff options
| author | Boryslav Larin <brabadu@gmail.com> | 2013-11-02 21:37:48 +0200 |
|---|---|---|
| committer | Boryslav Larin <brabadu@gmail.com> | 2013-11-02 21:45:40 +0200 |
| commit | e737c009b81df4a0126d61234e1d55f19956a78b (patch) | |
| tree | 45aed0d83276175ed2654745bcb3bc68bbbd3d45 /tests/template_tests/tests.py | |
| parent | ee48f4af99a8b5666339f927c459253f9f98e91f (diff) | |
Fixed flake8 E241
Diffstat (limited to 'tests/template_tests/tests.py')
| -rw-r--r-- | tests/template_tests/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py index c617bc07d4..a39f952e4c 100644 --- a/tests/template_tests/tests.py +++ b/tests/template_tests/tests.py @@ -677,7 +677,7 @@ class TemplateTests(TransRealMixin, TestCase): 'basic-syntax06': ("{{ multi word variable }}", {}, template.TemplateSyntaxError), # Raise TemplateSyntaxError for empty variable tags - 'basic-syntax07': ("{{ }}", {}, template.TemplateSyntaxError), + 'basic-syntax07': ("{{ }}", {}, template.TemplateSyntaxError), 'basic-syntax08': ("{{ }}", {}, template.TemplateSyntaxError), # Attribute syntax allows a template to call an object's attribute @@ -1685,11 +1685,11 @@ class TemplateTests(TransRealMixin, TestCase): 'now01': ('{% now "j n Y" %}', {}, "%d %d %d" % ( datetime.now().day, datetime.now().month, datetime.now().year)), # Check parsing of locale strings - 'now02': ('{% now "DATE_FORMAT" %}', {}, date_format(datetime.now())), + 'now02': ('{% now "DATE_FORMAT" %}', {}, date_format(datetime.now())), # Also accept simple quotes - #15092 'now03': ("{% now 'j n Y' %}", {}, "%d %d %d" % ( datetime.now().day, datetime.now().month, datetime.now().year)), - 'now04': ("{% now 'DATE_FORMAT' %}", {}, date_format(datetime.now())), + 'now04': ("{% now 'DATE_FORMAT' %}", {}, date_format(datetime.now())), 'now05': ('''{% now 'j "n" Y'%}''', {}, '''%d "%d" %d''' % ( datetime.now().day, datetime.now().month, datetime.now().year)), 'now06': ('''{% now "j 'n' Y"%}''', {}, '''%d '%d' %d''' % ( |
