Skip to content

Commit 8a35674

Browse files
committed
Fix tests. Now urllib3 has been wrapped within a etcd.EtcdConenctionFailed
1 parent 6c8af39 commit 8a35674

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/etcd/tests/integration/test_ssl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def test_get_set_unauthenticated_with_ca(self):
8181
client = etcd.Client(
8282
protocol='https', port=6001, ca_cert=self.ca2_cert_path)
8383

84-
self.assertRaises(urllib3.exceptions.SSLError, client.set, '/test-set', 'test-key')
85-
self.assertRaises(urllib3.exceptions.SSLError, client.get, '/test-set')
84+
self.assertRaises(etcd.EtcdConnectionFailed, client.set, '/test-set', 'test-key')
85+
self.assertRaises(etcd.EtcdConnectionFailed, client.get, '/test-set')
8686

8787
def test_get_set_authenticated(self):
8888
""" INTEGRATION: set/get a new value authenticated """

0 commit comments

Comments
 (0)