diff options
Diffstat (limited to 'tests/template_tests')
| -rw-r--r-- | tests/template_tests/test_response.py | 4 | ||||
| -rw-r--r-- | tests/template_tests/tests.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/template_tests/test_response.py b/tests/template_tests/test_response.py index ce2cc4a2c8..8791a11353 100644 --- a/tests/template_tests/test_response.py +++ b/tests/template_tests/test_response.py @@ -167,7 +167,7 @@ class SimpleTemplateResponseTest(TestCase): self.assertEqual(unpickled_response['content-type'], response['content-type']) self.assertEqual(unpickled_response.status_code, response.status_code) - # ...and the unpickled reponse doesn't have the + # ...and the unpickled response doesn't have the # template-related attributes, so it can't be re-rendered template_attrs = ('template_name', 'context_data', '_post_render_callbacks') for attr in template_attrs: @@ -273,7 +273,7 @@ class TemplateResponseTest(TestCase): self.assertEqual(unpickled_response['content-type'], response['content-type']) self.assertEqual(unpickled_response.status_code, response.status_code) - # ...and the unpickled reponse doesn't have the + # ...and the unpickled response doesn't have the # template-related attributes, so it can't be re-rendered template_attrs = ('template_name', 'context_data', '_post_render_callbacks', '_request', '_current_app') diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py index 17030c7560..90279265ad 100644 --- a/tests/template_tests/tests.py +++ b/tests/template_tests/tests.py @@ -717,7 +717,7 @@ class TemplateTests(TestCase): 'basic-syntax27': (r'{{ _("\"fred\"") }}', {}, "\"fred\""), # regression test for ticket #12554 - # make sure a silent_variable_failure Exception is supressed + # make sure a silent_variable_failure Exception is suppressed # on dictionary and attribute lookup 'basic-syntax28': ("{{ a.b }}", {'a': SilentGetItemClass()}, ('', 'INVALID')), 'basic-syntax29': ("{{ a.b }}", {'a': SilentAttrClass()}, ('', 'INVALID')), |
