mirror of
https://github.com/httpie/cli.git
synced 2024-11-22 15:53:13 +01:00
Test --timeout with longer delay
test_timeout_exit_status fails on Python 2.7 https://travis-ci.org/jakubroztocil/httpie/jobs/390072675#L325
This commit is contained in:
parent
749b1e2aca
commit
a50660cc70
@ -33,7 +33,7 @@ def test_error_response_exits_0_without_check_status(httpbin):
|
||||
|
||||
def test_timeout_exit_status(httpbin):
|
||||
|
||||
r = http('--timeout=0.01', 'GET', httpbin.url + '/delay/0.02',
|
||||
r = http('--timeout=0.01', 'GET', httpbin.url + '/delay/0.5',
|
||||
error_exit_ok=True)
|
||||
assert r.exit_status == ExitStatus.ERROR_TIMEOUT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user