Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/suite/modules/network_related/test__ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from iptest import IronPythonTestCase, is_cli, is_netcoreapp, retryOnFailure, run_test, skipUnlessIronPython

SSL_URL = "www.python.org"
SSL_ISSUER = "CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE"
SSL_ISSUER = r"CN=GlobalSign Atlas R3 DV TLS CA 20\d\d Q?\d, O=GlobalSign nv-sa, C=BE"
SSL_SERVER = "www.python.org"
SSL_PORT = 443
SSL_REQUEST = b"GET /en-us HTTP/1.0\r\nHost: www.python.org\r\n\r\n"
Expand Down Expand Up @@ -158,7 +158,7 @@ def test_SSLType_issuer(self):
issuer = ssl_s.issuer()
#If we can get the issuer once, we should be able to do it again
self.assertEqual(issuer, ssl_s.issuer())
self.assertIn(SSL_ISSUER, issuer)
self.assertRegex(issuer, SSL_ISSUER)

#--Negative
self.assertRaisesMessage(TypeError, "issuer() takes no arguments (1 given)",
Expand Down
Loading