-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
1 changed file
with
2 additions
and
2 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 |
---|---|---|
|
@@ -232,7 +232,7 @@ def test_validate_edx_username_conflict(settings, user): | |
"""Test that validate_username_email_with_edx handles a username validation conflict""" | ||
edx_username_validation_response_mock(True, settings) # noqa: FBT003 | ||
|
||
assert validate_username_email_with_edx(user.username) | ||
assert validate_username_email_with_edx(user.username, "[email protected]") | ||
|
||
|
||
@responses.activate | ||
|
@@ -249,7 +249,7 @@ def test_validate_edx_username_conflict(settings, user): # noqa: F811 | |
status=status.HTTP_400_BAD_REQUEST, | ||
) | ||
with pytest.raises(EdxApiRegistrationValidationException): | ||
validate_username_email_with_edx(user.username) | ||
validate_username_email_with_edx(user.username, "[email protected]") | ||
|
||
|
||
@responses.activate | ||
|