diff options
Diffstat (limited to '_pytest/test_eventrouter.py')
-rw-r--r-- | _pytest/test_eventrouter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_pytest/test_eventrouter.py b/_pytest/test_eventrouter.py index de267c1..5420d5a 100644 --- a/_pytest/test_eventrouter.py +++ b/_pytest/test_eventrouter.py @@ -13,7 +13,7 @@ def test_EventRouter(mock_weechat): # Handling an event removes from the queue. e = EventRouter() # Create a function to test we are called - e.proc['testfunc'] = lambda json, eventrouter, team, channel, metadata: json + e.proc["testfunc"] = lambda json, eventrouter, team, channel, metadata: json e.receive({"type": "testfunc"}) e.handle_next() assert len(e.queue) == 0 @@ -21,7 +21,7 @@ def test_EventRouter(mock_weechat): # Handling a local event removes from the queue. e = EventRouter() # Create a function to test we are called - e.proc['local_testfunc'] = lambda json, eventrouter, team, channel, metadata: json + e.proc["local_testfunc"] = lambda json, eventrouter, team, channel, metadata: json e.receive({"type": "local_testfunc"}) e.handle_next() assert len(e.queue) == 0 |