Skip to content

Commit 4eed013

Browse files
committed
fixed code-lints error
1 parent e0755e5 commit 4eed013

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/python_testing/TC_DRLK_2_9.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,8 @@ async def get_user(self, userindex, username, useruniqueid, credentiallist, expe
212212
if (response.credentials[response_credential_index] == credentiallist[input_credential_index]):
213213
match_found = True
214214
break
215-
if (not match_found):
216-
asserts.assert_true(match_found == True,
217-
"Error mismatch in expected credential from GetUserResponse command = {}".format(
218-
str(credentiallist)))
215+
asserts.assert_equal(match_found, True, "Error mismatch in expected credential from GetUserResponse command = {}".format(
216+
str(credentiallist)))
219217

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

0 commit comments

Comments
 (0)