fix tests on windows
This commit is contained in:
parent
05a8c52f8f
commit
a48cccadb5
|
@ -70,7 +70,8 @@ class TestProcessProxyOptions:
|
||||||
self.assert_err("transparent mode not supported", "-T")
|
self.assert_err("transparent mode not supported", "-T")
|
||||||
|
|
||||||
@mock.patch("libmproxy.platform.resolver")
|
@mock.patch("libmproxy.platform.resolver")
|
||||||
def test_transparent_reverse(self, o):
|
@mock.patch("libmproxy.platform.setup")
|
||||||
|
def test_transparent_reverse(self, _, __):
|
||||||
self.assert_err("mutually exclusive", "-R", "http://localhost", "-T")
|
self.assert_err("mutually exclusive", "-R", "http://localhost", "-T")
|
||||||
self.assert_noerr("-T")
|
self.assert_noerr("-T")
|
||||||
self.assert_err("Invalid server specification", "-R", "reverse")
|
self.assert_err("Invalid server specification", "-R", "reverse")
|
||||||
|
|
Loading…
Reference in New Issue