

def test_fill_CharField_with_a_random_str(self):
    person_name_field = Person._meta.get_field('name')
    self.assertIsInstance(person_name_field, CharField)
    self.assertIsInstance(self.person.name, text_type)
    self.assertEqual(len(person_name_field.person.name), person_name_field.max_length)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py StringFieldsFilling.test_fill_CharField_with_a_random_str/VarMisuse@49/77 `self`->`person_name_field`