diff options
| author | Jason Myers <jason@jasonamyers.com> | 2013-11-02 16:34:05 -0500 |
|---|---|---|
| committer | Jason Myers <jason@jasonamyers.com> | 2013-11-02 23:48:47 -0500 |
| commit | c3791463a5a9674f8e0148fbab57eae23c138896 (patch) | |
| tree | 6606acdb74132a344a49e910dec5d0356389a569 /tests/template_tests/test_response.py | |
| parent | 2a03a9a9a1c4517be75e72899e545b0bc9dd0688 (diff) | |
Fixing E302 Errors
Signed-off-by: Jason Myers <jason@jasonamyers.com>
Diffstat (limited to 'tests/template_tests/test_response.py')
| -rw-r--r-- | tests/template_tests/test_response.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/template_tests/test_response.py b/tests/template_tests/test_response.py index dc8ffd1a0a..f5f6158b2f 100644 --- a/tests/template_tests/test_response.py +++ b/tests/template_tests/test_response.py @@ -13,6 +13,7 @@ from django.template.response import (TemplateResponse, SimpleTemplateResponse, from django.test.utils import override_settings from django.utils._os import upath + def test_processor(request): return {'processors': 'yes'} test_processor_name = 'template_tests.test_response.test_processor' @@ -119,7 +120,7 @@ class SimpleTemplateResponseTest(TestCase): self.assertEqual(response.content, b'bar') def test_kwargs(self): - response = self._response(content_type = 'application/json', status=504) + response = self._response(content_type='application/json', status=504) self.assertEqual(response['content-type'], 'application/json') self.assertEqual(response.status_code, 504) @@ -233,7 +234,7 @@ class TemplateResponseTest(TestCase): self.assertEqual(response.content, b'bar') def test_kwargs(self): - response = self._response(content_type = 'application/json', + response = self._response(content_type='application/json', status=504) self.assertEqual(response['content-type'], 'application/json') self.assertEqual(response.status_code, 504) |
