Skip to content

Commit 8a12088

Browse files
committed
Updated test_false_sign test case to check for updated error message
1 parent ebf17ce commit 8a12088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_41_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_false_sign(self, mock_datetime, caplog):
146146
assert isinstance(resp, AuthnResponse)
147147
with raises(SignatureError):
148148
resp.verify()
149-
assert 'incorrectly_signed_response' in caplog.text
149+
assert 'The signature on the assertion cannot be verified.' in caplog.text
150150

151151
def test_other_response(self):
152152
with open(full_path("attribute_response.xml")) as fp:

0 commit comments

Comments
 (0)