mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
review fixes
This commit is contained in:
parent
c34c981b75
commit
01845137d6
@ -1777,7 +1777,7 @@ class SchemaTests(TransactionTestCase):
|
|||||||
any("ADD CONSTRAINT" in query["sql"] for query in ctx.captured_queries)
|
any("ADD CONSTRAINT" in query["sql"] for query in ctx.captured_queries)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
self.assertTrue(
|
self.assertFalse(
|
||||||
any("DROP CONSTRAINT" in query["sql"] for query in ctx.captured_queries)
|
any("DROP CONSTRAINT" in query["sql"] for query in ctx.captured_queries)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user