| |
@@ -19,7 +19,9 @@
|
| |
(ConnectTimeout('TIMEOUT'), 502, 'TIMEOUT'),
|
| |
(Timeout('TIMEOUT'), 504, 'TIMEOUT'),
|
| |
(InternalServerError(), 500, 'The server encountered an internal error'),
|
| |
- (urllib3.exceptions.MaxRetryError('MAX_RETRY', '.../gating.yaml'), 502, 'There was an error retrieving the gating.yaml file at .../gating.yaml')
|
| |
+ (urllib3.exceptions.MaxRetryError(
|
| |
+ 'MAX_RETRY', '.../gating.yaml'), 502, ('There was an error retrieving the'
|
| |
+ 'gating.yaml file at .../gating.yaml'))
|
| |
])
|
| |
def test_json_connection_error(error, expected_status_code,
|
| |
expected_error_message_part):
|
| |
Hmm, OK, but this is terrible indentation. :)
(It will break if the line above changes.)