diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-23 06:09:29 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-23 06:09:29 -0400 |
| commit | ae48d77ef8e14dae76fddcd5a677b897c7c7c4ae (patch) | |
| tree | fc938daf79b1061aeb70c9d7dd33108d2eb63544 /tests/backends | |
| parent | 51d2e1fb233b5507bf14300787939717c4d93834 (diff) | |
Fixed E225 pep8 warnings.
Diffstat (limited to 'tests/backends')
| -rw-r--r-- | tests/backends/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py index c6fe4e98f3..3c0cc67ea2 100644 --- a/tests/backends/tests.py +++ b/tests/backends/tests.py @@ -496,9 +496,9 @@ class BackendTestCase(TestCase): tbl = connection.introspection.table_name_converter(opts.db_table) f1 = connection.ops.quote_name(opts.get_field('root').column) f2 = connection.ops.quote_name(opts.get_field('square').column) - if paramstyle=='format': + if paramstyle == 'format': query = 'INSERT INTO %s (%s, %s) VALUES (%%s, %%s)' % (tbl, f1, f2) - elif paramstyle=='pyformat': + elif paramstyle == 'pyformat': query = 'INSERT INTO %s (%s, %s) VALUES (%%(root)s, %%(square)s)' % (tbl, f1, f2) else: raise ValueError("unsupported paramstyle in test") |
