Refs #31055 -- Fixed Model.check() call in ConstraintsTests.test_check_constraints_required_db_features().

This commit is contained in:
Mariusz Felisiak 2020-02-08 17:23:35 +01:00 committed by GitHub
parent fc4f45ebdc
commit 708c534e0b
1 changed files with 1 additions and 1 deletions

View File

@ -1241,4 +1241,4 @@ class ConstraintsTests(TestCase):
required_db_features = {'supports_table_check_constraints'}
constraints = [models.CheckConstraint(check=models.Q(age__gte=18), name='is_adult')]
self.assertEqual(Model.check(), [])
self.assertEqual(Model.check(databases=self.databases), [])