mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
[#4535] - Unwrap max retries exceeded errors
This commit is contained in:
@@ -634,7 +634,7 @@ class ClientNetworkTest(unittest.TestCase):
|
||||
|
||||
# Requests Library Exceptions
|
||||
except requests.exceptions.ConnectionError as z: #pragma: no cover
|
||||
self.assertEqual("('Connection aborted.', error(111, 'Connection refused'))", str(z))
|
||||
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."""
|
||||
|
||||
Reference in New Issue
Block a user