diff --git a/tests/schema/tests.py b/tests/schema/tests.py index fc9fca445b..349d953e85 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -1777,7 +1777,7 @@ class SchemaTests(TransactionTestCase): any("ADD CONSTRAINT" in query["sql"] for query in ctx.captured_queries) ) else: - self.assertTrue( + self.assertFalse( any("DROP CONSTRAINT" in query["sql"] for query in ctx.captured_queries) )