diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_http_request.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_http_request.py b/tests/test_http_request.py index a9e941d..1a0b4a0 100644 --- a/tests/test_http_request.py +++ b/tests/test_http_request.py @@ -49,7 +49,7 @@ def test_http_request_error_process_return_code(): assert excinfo.value.url == url assert excinfo.value.return_code == -2 - assert excinfo.value.http_status_code == 0 + assert excinfo.value.http_status_code == None assert excinfo.value.error == "" @@ -66,7 +66,7 @@ def test_http_request_error_process_stderr(): assert excinfo.value.url == url assert excinfo.value.return_code == 0 - assert excinfo.value.http_status_code == 0 + assert excinfo.value.http_status_code == None assert excinfo.value.error == "err" @@ -143,7 +143,7 @@ def test_http_request_error_retry_error(): assert excinfo.value.url == url assert excinfo.value.return_code == -2 - assert excinfo.value.http_status_code == 0 + assert excinfo.value.http_status_code == None assert excinfo.value.error == "" |