MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_old_api

Function test_old_api

test/mitmproxy/test_addonmanager.py:251–254  ·  view source on GitHub ↗
(caplog)

Source from the content-addressed store, hash-verified

249
250
251async def test_old_api(caplog):
252 with taddons.context(loadcore=False) as tctx:
253 tctx.master.addons.add(AOldAPI())
254 assert "clientconnect event has been removed" in caplog.text

Callers

nothing calls this directly

Calls 3

AOldAPIClass · 0.85
contextMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…