def test_model_delete(self): obj = Configuration(app_label='test', field_name='test6') obj.save() obj.delete()