Skip to content

Commit

Permalink
Fix test_callback_nonce_validation_with_bad_nonce unit test
Browse files Browse the repository at this point in the history
Broken in PR galaxyproject#13572.
  • Loading branch information
nsoranzo committed Mar 19, 2022
1 parent 00f7522 commit 6189032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/app/authnz/test_custos_authnz.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def test_callback_nonce_validation_with_bad_nonce(self):
self.test_nonce_hash = self.test_nonce_hash + "Z"

# self.custos_authnz._fetch_token = fetch_token
with self.assertRaisesRegex(Exception, "^Nonce mismatch!$"):
with self.assertRaisesRegex(Exception, "^Nonce mismatch"):
self.custos_authnz.callback(
state_token="xxx",
authz_code=self.test_code,
Expand Down

0 comments on commit 6189032

Please sign in to comment.