

def test_fill_DateField_with_a_date(self):
    birthday_field = Person._meta.get_field('birthday')
    self.assertIsInstance(birthday_field, DateField)
    self.assertIsInstance(self.person.birthday, date)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py DateFieldsFilling.test_fill_DateField_with_a_date/original