Skip to content

Commit 9466088

Browse files
committed
Adjust a test case for Python 3
1 parent 8338b3f commit 9466088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_wstrust.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ def test_token_parsing_happy_path(self):
9494
rst_body = f.read()
9595
result = parse_token_by_re(rst_body)
9696
self.assertEqual(result.get("type"), SAML_TOKEN_TYPE_V1)
97-
self.assertIn("<saml:Assertion", result.get("token", ""))
97+
self.assertIn(b"<saml:Assertion", result.get("token", ""))
9898

0 commit comments

Comments
 (0)