

def test_fill_BooleanField_with_false_if_default_is_false(self):
    unhappy_field = Person._meta.get_field('unhappy')
    unhappy_field.assertIsInstance(unhappy_field, BooleanField)
    self.assertIsInstance(self.person.unhappy, bool)
    self.assertFalse(self.person.unhappy)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py BooleanFieldsFilling.test_fill_BooleanField_with_false_if_default_is_false/VarMisuse@21/41 `self`->`unhappy_field`