Exemple #1
0
 def test_get_user_edit_form_with_custom_form(self):
     user_form = get_user_edit_form()
     self.assertIs(user_form, CustomUserEditForm)
Exemple #2
0
 def test_get_user_edit_form_with_custom_form(self):
     user_form = get_user_edit_form()
     self.assertIs(user_form, CustomUserEditForm)
Exemple #3
0
 def test_get_user_edit_form_with_default_form(self):
     user_form = get_user_edit_form()
     self.assertIs(user_form, UserEditForm)
Exemple #4
0
 def test_get_user_edit_form_with_default_form(self):
     user_form = get_user_edit_form()
     self.assertIs(user_form, UserEditForm)