

def test_filling_FloatField_with_a_random_float(self):
    self.dummy_numbers_model = mommy.make(DummyNumbersModel)
    float_field = DummyNumbersModel._meta.get_field('float_field')
    self.assertIsInstance(float_field, FloatField)
    self.assertIsInstance(self.dummy_numbers_model.float_field, float)

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py FillingOthersNumericFields.test_filling_FloatField_with_a_random_float/original