mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
355635af74
commit
2c83abee49
@ -296,7 +296,7 @@ class TestHTTP(BaseTest):
|
||||
|
||||
# Test timeout
|
||||
server.loop.opts.timeout = 0.1
|
||||
conn = server.connect()
|
||||
conn = server.connect(timeout=1)
|
||||
conn.request('GET', '/something')
|
||||
r = conn.getresponse()
|
||||
self.ae(r.status, 200), self.ae(r.read(), 'something')
|
||||
|
Loading…
x
Reference in New Issue
Block a user