mirror of
https://github.com/django/django.git
synced 2025-04-16 21:34:37 +00:00
Added supports_expression_defaults check in DefaultTests.test_full_clean() test.
This commit is contained in:
parent
12b771a1ec
commit
d4a2809c2b
@ -179,6 +179,7 @@ class DefaultTests(TestCase):
|
||||
years = DBDefaultsFunction.objects.values_list("year", flat=True)
|
||||
self.assertCountEqual(years, [2000, timezone.now().year])
|
||||
|
||||
@skipUnlessDBFeature("supports_expression_defaults")
|
||||
def test_full_clean(self):
|
||||
obj = DBArticle()
|
||||
obj.full_clean()
|
||||
|
Loading…
x
Reference in New Issue
Block a user