From 476badf45cd085d69b6162cd48983e3cd22cefcc Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Mon, 10 Aug 2015 20:36:47 +0200 Subject: cleanup imports --- test/http/http1/test_protocol.py | 1 - test/http/test_semantics.py | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'test/http') 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") -- cgit v1.2.3