We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c8af39 commit 8a35674Copy full SHA for 8a35674
1 file changed
src/etcd/tests/integration/test_ssl.py
@@ -81,8 +81,8 @@ def test_get_set_unauthenticated_with_ca(self):
81
client = etcd.Client(
82
protocol='https', port=6001, ca_cert=self.ca2_cert_path)
83
84
- self.assertRaises(urllib3.exceptions.SSLError, client.set, '/test-set', 'test-key')
85
- self.assertRaises(urllib3.exceptions.SSLError, client.get, '/test-set')
+ self.assertRaises(etcd.EtcdConnectionFailed, client.set, '/test-set', 'test-key')
+ self.assertRaises(etcd.EtcdConnectionFailed, client.get, '/test-set')
86
87
def test_get_set_authenticated(self):
88
""" INTEGRATION: set/get a new value authenticated """
0 commit comments