Skip to content

Commit

Permalink
style: update code to fix pylint failures
Browse files Browse the repository at this point in the history
The upgrade from pylint 3.1.0 to 3.2.0 resulted in some pylint failures. This commits modifies the code to correct those failures.
  • Loading branch information
MichaelRoytman committed May 20, 2024
1 parent 89cee36 commit db61ce1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edx_name_affirmation/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def test_create_verified_name_empty_string(self, verified_name, profile_name):
"""
Test that an empty verified_name or profile_name will raise an exception.
"""
field = ''
if verified_name == '':
field = 'verified_name'
elif profile_name == '':
Expand Down

0 comments on commit db61ce1

Please sign in to comment.