Small fix
This commit is contained in:
parent
c3401e732f
commit
87fd8fa96f
@ -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={}):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user