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

Function test_load_option

test/mitmproxy/test_addonmanager.py:218–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216
217
218async def test_load_option():
219 o = options.Options()
220 m = master.Master(o)
221 a = addonmanager.AddonManager(m)
222 a.add(AOption())
223 assert "custom_option" in m.options._options
224
225
226async def test_nesting():

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
AOptionClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…