summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-16 19:25:13 -0400
committerTim Graham <timograham@gmail.com>2014-06-16 19:25:13 -0400
commit82c935d44cac6f041628fff4f32d1efdde96e720 (patch)
tree7c839b4ec01cab763c1ea32b975a887197ec1e45 /tests
parent317c480c046284256786aaa6723104df8be9c693 (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.py2
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