Skip to content

Commit

Permalink
adding argument
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Oct 9, 2024
1 parent eaf06c4 commit 7901341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openedx/api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7901341

Please sign in to comment.