MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_certs

Method test_certs

test/mitmproxy/test_proxy.py:37–39  ·  view source on GitHub ↗
(self, tdata)

Source from the content-addressed store, hash-verified

35 assert self.p()
36
37 def test_certs(self, tdata):
38 with pytest.raises(Exception, match="ambiguous option"):
39 self.assert_noerr("--cert", tdata.path("mitmproxy/data/testkey.pem"))

Callers

nothing calls this directly

Calls 2

assert_noerrMethod · 0.95
pathMethod · 0.45

Tested by

no test coverage detected