From 321e94fa41b121f65c02119c02098df327bbd569 Mon Sep 17 00:00:00 2001 From: za Date: Thu, 27 Oct 2016 14:53:39 +0700 Subject: Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. --- tests/template_tests/syntax_tests/test_for.py | 2 +- tests/template_tests/syntax_tests/test_include.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/template_tests/syntax_tests') diff --git a/tests/template_tests/syntax_tests/test_for.py b/tests/template_tests/syntax_tests/test_for.py index 4af7881e57..2891d16f67 100644 --- a/tests/template_tests/syntax_tests/test_for.py +++ b/tests/template_tests/syntax_tests/test_for.py @@ -87,7 +87,7 @@ class ForTagTests(SimpleTestCase): @setup({'for-tag-unpack09': '{% for val in items %}{{ val.0 }}:{{ val.1 }}/{% endfor %}'}) def test_for_tag_unpack09(self): """ - Ensure that a single loopvar doesn't truncate the list in val. + A single loopvar doesn't truncate the list in val. """ output = self.engine.render_to_string('for-tag-unpack09', {'items': (('one', 1), ('two', 2))}) self.assertEqual(output, 'one:1/two:2/') diff --git a/tests/template_tests/syntax_tests/test_include.py b/tests/template_tests/syntax_tests/test_include.py index ebf3e8e7ab..ca7ee6f5b0 100644 --- a/tests/template_tests/syntax_tests/test_include.py +++ b/tests/template_tests/syntax_tests/test_include.py @@ -226,7 +226,7 @@ class IncludeTests(SimpleTestCase): def test_include_missing_template(self): """ - Tests that the correct template is identified as not existing + The correct template is identified as not existing when {% include %} specifies a template that does not exist. """ engine = Engine(app_dirs=True, debug=True) @@ -237,7 +237,7 @@ class IncludeTests(SimpleTestCase): def test_extends_include_missing_baseloader(self): """ - #12787 -- Tests that the correct template is identified as not existing + #12787 -- The correct template is identified as not existing when {% extends %} specifies a template that does exist, but that template has an {% include %} of something that does not exist. """ -- cgit v1.3