diff --git a/restclients_core/tests/dao_implementation/test_live.py b/restclients_core/tests/dao_implementation/test_live.py index 691d6a7..fa764ae 100644 --- a/restclients_core/tests/dao_implementation/test_live.py +++ b/restclients_core/tests/dao_implementation/test_live.py @@ -114,7 +114,7 @@ def test_ssl_client_cert(self): self.assertEquals(response.data, b'ok: my.app') def test_ssl_non_validated_cert(self): - self.assertRaises(SSLError, SSLBadFailTDAO().getURL, "/") + self.assertRaises(MaxRetryError, SSLBadFailTDAO().getURL, "/") def test_ssl_non_valid_ignore(self): response = SSLBadIgnoreTDAO().getURL('/ok', {})