Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustavb12 committed Feb 3, 2025
1 parent 0858f89 commit 03caa8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/djangoapps/third_party_auth/api/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,11 @@ def setUp(self): # pylint: disable=arguments-differ
@ddt.data(
({'uid': 'test-uid'}, 400, {'error_message': 'username_or_email is a required parameter.'}),
({'username_or_email': 'test-user'}, 400, {'error_message': 'uid is a required parameter.'}),
({'username_or_email': ALICE_USERNAME, 'uid': 'abcd'}, 404, {'error_message': f'User {ALICE_USERNAME} does not have a social auth record with UID abcd.'}),
({
'username_or_email': ALICE_USERNAME, 'uid': 'abcd'},
404,
{'error_message': f'User {ALICE_USERNAME} does not have a social auth record with UID abcd.'
}),
({'username_or_email': ALICE_USERNAME, 'uid': f'{ALICE_USERNAME}@gmail.com'}, 200, {
"username": ALICE_USERNAME,
"email": f'{ALICE_USERNAME}@example.com',
Expand Down

0 comments on commit 03caa8d

Please sign in to comment.