1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

Refs #35676 -- Added supports_table_check_constraints skip to model_forms tests.

This commit is contained in:
Tim Graham
2025-06-13 02:11:04 -04:00
committed by GitHub
parent f2f6046c0f
commit 3306b7283b
2 changed files with 2 additions and 0 deletions

View File

@@ -3721,6 +3721,7 @@ class ModelToDictTests(TestCase):
self.assertEqual(data, [blue])
@skipUnlessDBFeature("supports_table_check_constraints")
class ConstraintValidationTests(TestCase):
def test_unique_constraint_refs_excluded_field(self):
obj = ConstraintsModel.objects.create(name="product", price="1.00")