mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Nobody ain't got time for that
This commit is contained in:
1 parent
13a979ad11
commit
5dbd104c3b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user