This commit is contained in:
Kovid Goyal 2017-06-23 00:07:59 +05:30
parent 355635af74
commit 2c83abee49
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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