diff options
| author | Alasdair Nicol <alasdair@memset.com> | 2013-10-17 23:27:45 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-17 20:20:11 -0400 |
| commit | dfb4cb9970f86487f0aaa88c5dfcfafa31e4f430 (patch) | |
| tree | 4762099924f11873e9b6608e6f056939f16410b9 /django/test/testcases.py | |
| parent | d97bec5ee3a6284d30b613c9070588a60358e7ec (diff) | |
Fixed #21285 -- Fixed E121,E122 pep8 warnings
Diffstat (limited to 'django/test/testcases.py')
| -rw-r--r-- | django/test/testcases.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/django/test/testcases.py b/django/test/testcases.py index 3ce96b09b9..fb6d518427 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -282,8 +282,7 @@ class SimpleTestCase(unittest.TestCase): " response code was %d (expected %d)" % (path, redirect_response.status_code, target_status_code)) - e_scheme, e_netloc, e_path, e_query, e_fragment = urlsplit( - expected_url) + e_scheme, e_netloc, e_path, e_query, e_fragment = urlsplit(expected_url) if not (e_scheme or e_netloc): expected_url = urlunsplit(('http', host or 'testserver', e_path, e_query, e_fragment)) @@ -850,10 +849,10 @@ class TestCase(TransactionTestCase): try: call_command('loaddata', *self.fixtures, **{ - 'verbosity': 0, - 'commit': False, - 'database': db_name, - 'skip_validation': True, + 'verbosity': 0, + 'commit': False, + 'database': db_name, + 'skip_validation': True, }) except Exception: self._fixture_teardown() |
