def test_form(self): """ The model should have a 'form' field """ field = OmniFormHandler.form self.assertIsInstance(field, GenericForeignKey)