From 9a0e0d966a1a317b1b422b5e92949e6d1f33fc2f Mon Sep 17 00:00:00 2001 From: Ian Foote Date: Tue, 25 Sep 2018 16:14:45 +0100 Subject: [PATCH] Refs #11964 -- Renamed a database check constraint test. --- tests/constraints/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/constraints/tests.py b/tests/constraints/tests.py index 19573dffa1..908f0aaf38 100644 --- a/tests/constraints/tests.py +++ b/tests/constraints/tests.py @@ -24,7 +24,7 @@ class CheckConstraintTests(TestCase): self.assertEqual(kwargs, {'constraint': constraint, 'name': name}) @skipUnlessDBFeature('supports_table_check_constraints') - def test_model_constraint(self): + def test_database_constraint(self): Product.objects.create(name='Valid', price=10, discounted_price=5) with self.assertRaises(IntegrityError): Product.objects.create(name='Invalid', price=10, discounted_price=20)