mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
[#4535] - Unwrap max retries exceeded errors
This commit is contained in:
parent
0c14d9372d
commit
9ae987d72b
1 changed files with 2 additions and 2 deletions
|
|
@ -633,8 +633,8 @@ class ClientNetworkTest(unittest.TestCase):
|
|||
"Connection refused", str(y))
|
||||
|
||||
# Requests Library Exceptions
|
||||
except requests.exceptions.RequestException as z: #pragma: no cover
|
||||
self.assertEqual("('Connection aborted.', error(111, 'Connection refused'))", str(z))
|
||||
except requests.exceptions.ConnectionError as z: #pragma: no cover
|
||||
self.assertEqual("('Connection aborted.', error(99, 'Cannot assign requested address'))", str(z))
|
||||
|
||||
class ClientNetworkWithMockedResponseTest(unittest.TestCase):
|
||||
"""Tests for acme.client.ClientNetwork which mock out response."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue