MCPcopy
hub / github.com/mitmproxy/mitmproxy / Foo

Class Foo

test/mitmproxy/utils/test_signals.py:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 assert m.call_args_list == [mock.call("foo")]
17
18 class Foo:
19 called = None
20
21 def bound(self, event):
22 self.called = event
23
24 f = Foo()
25 s.connect(f.bound)

Callers 1

test_sync_signalFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_sync_signalFunction · 0.56