Exemplo n.º 1
0
 def test_get_user_creation_form_with_custom_form(self):
     user_form = get_user_creation_form()
     self.assertIs(user_form, CustomUserCreationForm)
Exemplo n.º 2
0
 def test_get_user_creation_form_with_custom_form(self):
     user_form = get_user_creation_form()
     self.assertIs(user_form, CustomUserCreationForm)
Exemplo n.º 3
0
 def test_get_user_creation_form_with_default_form(self):
     user_form = get_user_creation_form()
     self.assertIs(user_form, UserCreationForm)
Exemplo n.º 4
0
 def test_get_user_creation_form_with_default_form(self):
     user_form = get_user_creation_form()
     self.assertIs(user_form, UserCreationForm)