aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_http.py2
-rw-r--r--test/test_tcp.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_http.py b/test/test_http.py
index ed16fb4a..666dfdbb 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -222,7 +222,7 @@ def test_read_response():
r = cStringIO.StringIO(data)
return http.read_response(r, method, limit)
- tutils.raises("blank server response", tst, "", "GET", None)
+ tutils.raises("server disconnect", tst, "", "GET", None)
tutils.raises("invalid server response", tst, "foo", "GET", None)
data = """
HTTP/1.1 200 OK
diff --git a/test/test_tcp.py b/test/test_tcp.py
index f12a131b..5b616969 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -1,4 +1,4 @@
-import cStringIO, threading, Queue, time, socket
+import cStringIO, Queue, time, socket
from netlib import tcp, certutils, test
import mock
import tutils