mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #23395 -- Limited line lengths to 119 characters.
This commit is contained in:
committed by
Tim Graham
parent
84b0a8d2aa
commit
b1e33ceced
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user