-
-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee835af
commit ca661b2
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ def test_validate_email_nouser_noerror(self): | |
def test_validate_email_nouser_error(self): | ||
""" Test validate_email_nouser where error is raised. """ | ||
User = get_user_model() | ||
password = User.objects.make_random_password() | ||
password = 'testpassword123' | ||
user = User.objects.create_user( | ||
'john', '[email protected]', password) | ||
user.save() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -582,7 +582,7 @@ def test_subscribe_request_post_existinguser_email(self): | |
""" Post the subscription form without email shoud fail. """ | ||
|
||
User = get_user_model() | ||
password = User.objects.make_random_password() | ||
password = 'testpassword123' | ||
user = User.objects.create_user( | ||
'john', '[email protected]', password) | ||
user.save() | ||
|
@@ -781,7 +781,7 @@ def test_user_update(self): | |
""" | ||
|
||
User = get_user_model() | ||
password = User.objects.make_random_password() | ||
password = 'testpassword123' | ||
user = User.objects.create_user( | ||
'john', '[email protected]', password) | ||
user.save() | ||
|
@@ -1055,7 +1055,7 @@ def test_update_request_post_existinguser_email(self): | |
""" Post the update form without email shoud fail. """ | ||
|
||
User = get_user_model() | ||
password = User.objects.make_random_password() | ||
password = 'testpassword123' | ||
user = User.objects.create_user( | ||
'john', '[email protected]', password) | ||
user.save() | ||
|