aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r--test/test_proxy.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index b498c800..f4ce6135 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -10,7 +10,6 @@ from libmproxy.proxy.server import DummyServer, ProxyServer, ConnectionHandler
from netlib.exceptions import TcpDisconnect
import tutils
from libpathod import test
-from netlib import http, tcp
from netlib.http import http1
@@ -55,6 +54,7 @@ class TestServerConnection(object):
class TestProcessProxyOptions:
+
def p(self, *args):
parser = tutils.MockParser()
cmdline.common_options(parser)
@@ -152,6 +152,7 @@ class TestProcessProxyOptions:
class TestProxyServer:
# binding to 0.0.0.0:1 works without special permissions on Windows
+
@tutils.skip_windows
def test_err(self):
conf = ProxyConfig(
@@ -167,6 +168,7 @@ class TestProxyServer:
class TestDummyServer:
+
def test_simple(self):
d = DummyServer(None)
d.start_slave()
@@ -174,6 +176,7 @@ class TestDummyServer:
class TestConnectionHandler:
+
def test_fatal_error(self):
config = mock.Mock()
root_layer = mock.Mock()