Skip to content

Commit

Permalink
Remove error word from non-error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sunetfreitag committed Aug 19, 2024
1 parent a6822a8 commit 1cd5fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_mfazones.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def test_mfazones_mfauser(self):
g_logger.info(f'Expected fail. Unable to list content of an active MFA zone.')
error_message = str(e)
if "failed with code 403" in error_message:
g_logger.info(f'Expected 403 error has occurred')
g_logger.info(f'Expected 403 has occurred')
self.assertTrue(True)
else:
g_logger.error(f'Unexpected error on node {fullnode}: {error_message}')
Expand Down

0 comments on commit 1cd5fe2

Please sign in to comment.