Skip to content

Commit 39c366d

Browse files
author
Jimmy John
committed
fix unit test breakage
1 parent ea93835 commit 39c366d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/src/OneLogin/saml2_tests/authn_request_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def testCreateEncSAMLRequest(self):
255255
inflated = decompress(decoded, -15)
256256

257257
self.assertRegexpMatches(inflated, '^<samlp:AuthnRequest')
258-
self.assertRegexpMatches(inflated, 'AssertionConsumerServiceURL="http://stuff.com/endpoints/endpoints/acs.php">')
258+
self.assertRegexpMatches(inflated, 'AssertionConsumerServiceURL="http://stuff.com/endpoints/endpoints/acs.php"(\s)*>')
259259
self.assertRegexpMatches(inflated, '<saml:Issuer>http://stuff.com/endpoints/metadata.php</saml:Issuer>')
260260
self.assertRegexpMatches(inflated, 'Format="urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted"')
261261
self.assertRegexpMatches(inflated, 'ProviderName="SP prueba"')

0 commit comments

Comments
 (0)