def test_get_user_edit_form_with_custom_form(self): user_form = get_user_edit_form() self.assertIs(user_form, CustomUserEditForm)
def test_get_user_edit_form_with_default_form(self): user_form = get_user_edit_form() self.assertIs(user_form, UserEditForm)