def test_field_returns_object_of_type_Field(self): record = Record(self.data, model='test') field = record.field(name='test_name') self.assertEqual(type(field), Field)