diff options
Diffstat (limited to 'test/http')
| -rw-r--r-- | test/http/http1/test_protocol.py | 1 | ||||
| -rw-r--r-- | test/http/test_semantics.py | 10 |
2 files changed, 4 insertions, 7 deletions
diff --git a/test/http/http1/test_protocol.py b/test/http/http1/test_protocol.py index ff70b87d..af77c55f 100644 --- a/test/http/http1/test_protocol.py +++ b/test/http/http1/test_protocol.py @@ -1,6 +1,5 @@ import cStringIO import textwrap -import binascii from netlib import http, odict, tcp, tutils from netlib.http import semantics diff --git a/test/http/test_semantics.py b/test/http/test_semantics.py index 59364eae..7ef69dcf 100644 --- a/test/http/test_semantics.py +++ b/test/http/test_semantics.py @@ -1,13 +1,11 @@ -import cStringIO -import textwrap -import binascii import mock -from mock import MagicMock -from netlib import http, odict, tcp, tutils, utils +from netlib import http +from netlib import odict +from netlib import tutils +from netlib import utils from netlib.http import semantics from netlib.http.semantics import CONTENT_MISSING -from .. import tservers class TestProtocolMixin(object): @mock.patch("netlib.http.semantics.ProtocolMixin.assemble_response") |
