mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
fix mysterious tox issue
This commit is contained in:
parent
042bcf7cf8
commit
3b53d3e393
@ -323,7 +323,7 @@ def basic_options(parser):
|
||||
|
||||
|
||||
def proxy_modes(parser):
|
||||
group = parser.add_argument_group("Proxy Modes").add_mutually_exclusive_group()
|
||||
group = parser.add_argument_group("Proxy Modes")
|
||||
group.add_argument(
|
||||
"-R", "--reverse",
|
||||
action="store",
|
||||
|
@ -96,7 +96,7 @@ class TestProcessProxyOptions:
|
||||
self.assert_err("expected one argument", "--upstream-auth")
|
||||
self.assert_err("Invalid upstream auth specification", "--upstream-auth", "test")
|
||||
|
||||
self.assert_err("not allowed with", "-R", "http://localhost", "-T")
|
||||
self.assert_err("mutually exclusive", "-R", "http://localhost", "-T")
|
||||
|
||||
def test_socks_auth(self):
|
||||
self.assert_err("Proxy Authentication not supported in SOCKS mode.", "--socks", "--nonanonymous")
|
||||
|
Loading…
Reference in New Issue
Block a user