diff options
| author | Tim Graham <timograham@gmail.com> | 2014-06-16 19:25:13 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-06-16 19:25:13 -0400 |
| commit | 82c935d44cac6f041628fff4f32d1efdde96e720 (patch) | |
| tree | 7c839b4ec01cab763c1ea32b975a887197ec1e45 /tests | |
| parent | 317c480c046284256786aaa6723104df8be9c693 (diff) | |
Renamed DatabaseFeature.supports_check_constraints to supports_column_check_constraints.
Thanks maxi for the suggestion.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/schema/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index b0dd9ada90..624ada5276 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -478,7 +478,7 @@ class SchemaTests(TransactionTestCase): BookWithM2M._meta.local_many_to_many.remove(new_field) del BookWithM2M._meta._m2m_cache - @unittest.skipUnless(connection.features.supports_check_constraints, "No check constraints") + @unittest.skipUnless(connection.features.supports_column_check_constraints, "No check constraints") def test_check_constraints(self): """ Tests creating/deleting CHECK constraints |
