summaryrefslogtreecommitdiff
path: root/tests/introspection
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2019-01-02 18:18:19 -0500
committerGitHub <noreply@github.com>2019-01-02 18:18:19 -0500
commit0004daa536890fdb389c895baaa21bea6a1f7073 (patch)
tree9f66a0ce81466d8fa7043e70f0d96b9cc3350473 /tests/introspection
parent5bbf31634faad13658dc7bcaeb8139d8625e4349 (diff)
downloaddjango-0004daa536890fdb389c895baaa21bea6a1f7073.tar.gz
Used 4 space hanging indent for dictionaries.
Thanks Mariusz Felisiak for auditing.
Diffstat (limited to 'tests/introspection')
-rw-r--r--tests/introspection/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/introspection/tests.py b/tests/introspection/tests.py
index c61720d12b..a616ee0f98 100644
--- a/tests/introspection/tests.py
+++ b/tests/introspection/tests.py
@@ -163,10 +163,10 @@ class IntrospectionTests(TransactionTestCase):
def test_get_key_columns(self):
with connection.cursor() as cursor:
key_columns = connection.introspection.get_key_columns(cursor, Article._meta.db_table)
- self.assertEqual(
- set(key_columns),
- {('reporter_id', Reporter._meta.db_table, 'id'),
- ('response_to_id', Article._meta.db_table, 'id')})
+ self.assertEqual(set(key_columns), {
+ ('reporter_id', Reporter._meta.db_table, 'id'),
+ ('response_to_id', Article._meta.db_table, 'id'),
+ })
def test_get_primary_key_column(self):
with connection.cursor() as cursor: