forked from p15670423/monkey
UT: Use `self` instead of class name
This commit is contained in:
parent
59c58b3115
commit
377bb293fe
|
@ -59,8 +59,8 @@ def test_subscribe_publish__with_event_body(
|
||||||
event = None
|
event = None
|
||||||
|
|
||||||
def __call__(self, event):
|
def __call__(self, event):
|
||||||
MyCallable.call_count += 1
|
self.call_count += 1
|
||||||
MyCallable.event = event
|
self.event = event
|
||||||
|
|
||||||
event = "my event!"
|
event = "my event!"
|
||||||
my_callable = MyCallable()
|
my_callable = MyCallable()
|
||||||
|
|
Loading…
Reference in New Issue