Nobody ain't got time for that

This commit is contained in:
Jakub Roztocil 2016-03-03 17:09:34 +08:00
parent 13a979ad11
commit 5dbd104c3b

View File

@ -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