MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_kill

Function test_kill

test/mitmproxy/addons/test_core.py:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def test_kill():
48 sa = core.Core()
49 with taddons.context(loadcore=False):
50 f = tflow.tflow()
51 f.intercept()
52 assert f.killable
53 sa.kill([f])
54 assert not f.killable
55
56
57def test_revert():

Callers

nothing calls this directly

Calls 3

killMethod · 0.95
contextMethod · 0.80
interceptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…