summaryrefslogtreecommitdiff
path: root/tests/inspectdb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inspectdb')
-rw-r--r--tests/inspectdb/tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py
index 9bfe609394..db55d68493 100644
--- a/tests/inspectdb/tests.py
+++ b/tests/inspectdb/tests.py
@@ -234,7 +234,10 @@ class InspectDBTestCase(TestCase):
table_name_filter=lambda tn: tn.startswith('inspectdb_uniquetogether'),
stdout=out)
output = out.getvalue()
- self.assertIn(" unique_together = (('field1', 'field2'),)", output, msg='inspectdb should generate unique_together.')
+ self.assertIn(
+ " unique_together = (('field1', 'field2'),)", output,
+ msg='inspectdb should generate unique_together.'
+ )
@skipUnless(connection.vendor == 'sqlite',
"Only patched sqlite's DatabaseIntrospection.data_types_reverse for this test")