

def test_fill_BooleanField_with_boolean(self):
    happy_field = Person._meta.get_field('happy')
    self.assertIsInstance(happy_field, BooleanField)
    self.assertIsInstance(self.person.happy, bool)
    self.assertTrue(self.person.happy)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py BooleanFieldsFilling.test_fill_BooleanField_with_boolean/original