Skip to content

Commit

Permalink
Changed exception to anticipate on SSL verification failure due to ch…
Browse files Browse the repository at this point in the history
…anges in urllib
  • Loading branch information
ezturner committed Aug 9, 2017
1 parent 03dd403 commit f19c3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restclients_core/tests/dao_implementation/test_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -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', {})
Expand Down

0 comments on commit f19c3f5

Please sign in to comment.