Skip to content

Commit 98fa1ee

Browse files
authored
r'strings'
1 parent ff3b07c commit 98fa1ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/OneLogin/saml2_tests/logout_response_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def testCreateDeflatedSAMLLogoutResponseURLParameter(self):
5656

5757
logout_url = OneLogin_Saml2_Utils.redirect('http://idp.example.com/SingleLogoutService.php', parameters, True)
5858

59-
self.assertRegexpMatches(logout_url, '^http://idp\.example\.com\/SingleLogoutService\.php\?SAMLResponse=')
59+
self.assertRegexpMatches(logout_url, r'^http://idp\.example\.com\/SingleLogoutService\.php\?SAMLResponse=')
6060
url_parts = urlparse(logout_url)
6161
exploded = parse_qs(url_parts.query)
6262
inflated = OneLogin_Saml2_Utils.decode_base64_and_inflate(exploded['SAMLResponse'][0])

0 commit comments

Comments
 (0)