

def test_fill_PositiveSmallIntegerField_with_a_random_number(self):
    field = DummyPositiveIntModel._meta.get_field('positive_small_int_field')
    positive_small_int_field = field
    self.assertIsInstance(self, PositiveSmallIntegerField)
    self.assertIsInstance(self.dummy_positive_int_model.positive_small_int_field, int)
    self.assertTrue((self.dummy_positive_int_model.positive_small_int_field > 0))

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py FillingPositiveIntFields.test_fill_PositiveSmallIntegerField_with_a_random_number/VarMisuse@29/62 `positive_small_int_field`->`self`