Commit 90f54bcc by Łukasz Nowak

test: Reflect exception change due to library upgrade

parent 4c2db470
Pipeline #7970 failed with stage
in 0 seconds
...@@ -426,7 +426,7 @@ class KedifaIntegrationTest(KedifaMixinCaucase, unittest.TestCase): ...@@ -426,7 +426,7 @@ class KedifaIntegrationTest(KedifaMixinCaucase, unittest.TestCase):
with open(incorrect_key_pem, 'w') as out: with open(incorrect_key_pem, 'w') as out:
out.write(key_pem + certificate_pem) out.write(key_pem + certificate_pem)
with self.assertRaises(requests.exceptions.SSLError): with self.assertRaises(requests.exceptions.ConnectionError):
self.requests_get( self.requests_get(
self.kedifa_url + self.reference, cert=incorrect_key_pem) self.kedifa_url + self.reference, cert=incorrect_key_pem)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment