diff options
Diffstat (limited to 'tests/template_tests')
| -rw-r--r-- | tests/template_tests/syntax_tests/test_if.py | 4 | ||||
| -rw-r--r-- | tests/template_tests/templates/included_content.html | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/template_tests/syntax_tests/test_if.py b/tests/template_tests/syntax_tests/test_if.py index 40593c7694..5ea57bf489 100644 --- a/tests/template_tests/syntax_tests/test_if.py +++ b/tests/template_tests/syntax_tests/test_if.py @@ -533,9 +533,7 @@ class IfTagTests(SimpleTestCase): @setup({'if-tag-badarg01': '{% if x|default_if_none:y %}yes{% endif %}'}) def test_if_tag_badarg01(self): - """ - Non-existent args - """ + """Nonexistent args""" output = self.engine.render_to_string('if-tag-badarg01') self.assertEqual(output, '') diff --git a/tests/template_tests/templates/included_content.html b/tests/template_tests/templates/included_content.html index bfc87c0425..cc033bd3b9 100644 --- a/tests/template_tests/templates/included_content.html +++ b/tests/template_tests/templates/included_content.html @@ -7,5 +7,5 @@ {% block error_here %} error here - {% url "non_existing_url" %} + {% url "nonexistent_url" %} {% endblock %} |
