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

Method test_basic

test/mitmproxy/addons/test_onboarding.py:17–21  ·  view source on GitHub ↗
(self, client)

Source from the content-addressed store, hash-verified

15 return [onboarding.Onboarding()]
16
17 def test_basic(self, client):
18 ob = onboarding.Onboarding()
19 with taddons.context(ob) as tctx:
20 tctx.configure(ob)
21 assert client.get("/").status_code == 200
22
23 @pytest.mark.parametrize("ext", ["pem", "p12", "cer", "magisk"])
24 def test_cert(self, client, ext, tdata):

Callers

nothing calls this directly

Calls 3

contextMethod · 0.80
configureMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected