diff options
author | Bob Strecansky <bstrecansky@localhost.localdomain> | 2017-08-08 02:34:20 +0300 |
---|---|---|
committer | Bob Strecansky <bstrecansky@localhost.localdomain> | 2017-08-08 02:34:20 +0300 |
commit | b3216727daffa93391e939cadc1a266978240f22 (patch) | |
tree | f57430dd81ab03ab82d9e3ad6ea95e0674e650f7 | |
parent | 8a78ef9675e1fbed7e5734a5e95c5d121dde0553 (diff) |
[#4535] - Unwrap max retries exceeded errors
-rw-r--r-- | acme/acme/client_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/acme/acme/client_test.py b/acme/acme/client_test.py index 801e34bdf..d97b4920c 100644 --- a/acme/acme/client_test.py +++ b/acme/acme/client_test.py @@ -634,7 +634,8 @@ class ClientNetworkTest(unittest.TestCase): # Requests Library Exceptions except requests.exceptions.ConnectionError as z: #pragma: no cover - self.assertEqual("('Connection aborted.', error(99, 'Cannot assign requested address'))", str(z)) + self.assertEqual("('Connection aborted.'," + "error(111, 'Connection refused'))", str(z)) class ClientNetworkWithMockedResponseTest(unittest.TestCase): """Tests for acme.client.ClientNetwork which mock out response.""" |