mirror of
https://github.com/httpie/cli.git
synced 2024-11-22 15:53:13 +01:00
Nobody ain't got time for that
This commit is contained in:
parent
13a979ad11
commit
5dbd104c3b
@ -23,7 +23,7 @@ class TestExitStatus:
|
||||
)
|
||||
def test_timeout_exit_status(self, httpbin):
|
||||
|
||||
r = http('--timeout=0.5', 'GET', httpbin.url + '/delay/1',
|
||||
r = http('--timeout=0.01', 'GET', httpbin.url + '/delay/0.02',
|
||||
error_exit_ok=True)
|
||||
assert r.exit_status == ExitStatus.ERROR_TIMEOUT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user