MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / p

Method p

test/mitmproxy/test_proxy.py:21–27  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

19
20class TestProcessProxyOptions:
21 def p(self, *args):
22 parser = MockParser()
23 opts = options.Options()
24 cmdline.common_options(parser, opts)
25 args = parser.parse_args(args=args)
26 pconf = main.process_options(parser, opts, args)
27 return parser, pconf
28
29 def assert_noerr(self, *args):
30 m, p = self.p(*args)

Callers 2

assert_noerrMethod · 0.95
test_simpleMethod · 0.95

Calls 1

MockParserClass · 0.85

Tested by

no test coverage detected