Skip to content

Commit

Permalink
fixed code-lints error
Browse files Browse the repository at this point in the history
  • Loading branch information
sumaky committed Sep 17, 2024
1 parent e0755e5 commit 4eed013
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/python_testing/TC_DRLK_2_9.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,8 @@ async def get_user(self, userindex, username, useruniqueid, credentiallist, expe
if (response.credentials[response_credential_index] == credentiallist[input_credential_index]):
match_found = True
break
if (not match_found):
asserts.assert_true(match_found == True,
"Error mismatch in expected credential from GetUserResponse command = {}".format(
str(credentiallist)))
asserts.assert_equal(match_found, True, "Error mismatch in expected credential from GetUserResponse command = {}".format(
str(credentiallist)))

except InteractionModelError as e:
asserts.assert_equal(e.status, expected_status, f"Unexpected error returned: {e}")
Expand Down

0 comments on commit 4eed013

Please sign in to comment.