

def test_fill_BinaryField_with_random_binary(self):
    name_hash_field = Person._meta.get_field('name_hash')
    self.assertIsInstance(name_hash, BinaryField)
    name_hash = self.person.name_hash
    self.assertIsInstance(name_hash, binary_type)
    self.assertEqual(len(name_hash), name_hash_field.max_length)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py BinaryFieldsFilling.test_fill_BinaryField_with_random_binary/VarMisuse@25/45 `name_hash_field`->`name_hash`