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:58 -0400
commitdc7d0f50e22bc52bc4656879452c482394347b75 (patch)
tree9c8627aab2e469311fa75344db0df4b40658e51c /tests
parent7f095ea74419cda5534b0cc9fbedc41f84f41318 (diff)
[1.7.x] Renamed DatabaseFeature.supports_check_constraints to supports_column_check_constraints.
Thanks maxi for the suggestion. Backport of 82c935d44c from master
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