MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_load_script

Function test_load_script

test/mitmproxy/test_taddons.py:4–7  ·  view source on GitHub ↗
(tdata)

Source from the content-addressed store, hash-verified

2
3
4def test_load_script(tdata):
5 with taddons.context() as tctx:
6 s = tctx.script(tdata.path("mitmproxy/data/addonscripts/recorder/recorder.py"))
7 assert s

Callers

nothing calls this directly

Calls 3

contextMethod · 0.80
scriptMethod · 0.80
pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…