Small fix

This commit is contained in:
reverend 2020-09-12 11:01:34 +02:00
parent c3401e732f
commit 87fd8fa96f

View File

@ -14,7 +14,7 @@ class ModelTestCase:
def setUp(self):
self.object = self.model.objects.get(id=1)
self.model_name = type(self.model).__name__
self.model_name = self.model.__name__
def _test_field(self, field_name, field_class, must_have={}, must_not_have={}):
'''