1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Made assertions in invalid_models_tests consistent.

This commit is contained in:
Adam Johnson
2017-07-11 10:53:22 +02:00
committed by Tim Graham
parent 169c3b3e07
commit f816ceedf1
5 changed files with 202 additions and 409 deletions

View File

@@ -17,5 +17,4 @@ class CustomFieldTest(SimpleTestCase):
other_field = models.IntegerField()
field = Model._meta.get_field('field')
errors = field.check()
self.assertEqual(errors, [])
self.assertEqual(field.check(), [])