From 7901341e5f28181f367c7e79566da9acd20efb7f Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 9 Oct 2024 08:39:31 -0400 Subject: [PATCH] adding argument --- openedx/api_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/api_test.py b/openedx/api_test.py index 29b2ec84a..182bddc0e 100644 --- a/openedx/api_test.py +++ b/openedx/api_test.py @@ -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, "example@mit.edu") @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, "example@mit.edu") @responses.activate