

def test_fill_SmallIntegerField_with_a_random_number(self):
    small_int_field = DummyIntModel._meta.get_field('small_int_field')
    self.assertIsInstance(small_int_field, SmallIntegerField)
    self.assertIsInstance(self.dummy_int_model.small_int_field, int)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py FillingIntFields.test_fill_SmallIntegerField_with_a_random_number/original