

def test_filling_content_type_field(self):
    dummy = mommy.make(DummyGenericForeignKeyModel)
    dummy.assertIsInstance(dummy.content_type, ContentType)
    self.assertIsNotNone(dummy.content_type.model_class())

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py FillingGenericForeignKeyField.test_filling_content_type_field/VarMisuse@19/30 `self`->`dummy`