mirror of
https://github.com/httpie/cli.git
synced 2025-06-26 12:31:47 +02: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):
|
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)
|
error_exit_ok=True)
|
||||||
assert r.exit_status == ExitStatus.ERROR_TIMEOUT
|
assert r.exit_status == ExitStatus.ERROR_TIMEOUT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user