MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / ExampleClass

Class ExampleClass

src/Test/TestEvent.py:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class ExampleClass(object):
5 def __init__(self):
6 self.called = []
7 self.onChanged = util.Event()
8
9 def increment(self, title):
10 self.called.append(title)
11
12
13class TestEvent:

Callers 4

testEventMethod · 0.70
testOnceMethod · 0.70
testOnceMultipleMethod · 0.70
testOnceNamedMethod · 0.70

Calls

no outgoing calls

Tested by 4

testEventMethod · 0.56
testOnceMethod · 0.56
testOnceMultipleMethod · 0.56
testOnceNamedMethod · 0.56