aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_eventrouter.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2021-03-20 13:41:02 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2021-03-20 13:42:40 +0100
commit373baece5094b5bedf10e08ea95d09be3619fd23 (patch)
treede7b6c84c3512c7a08aecf05c351936389bcdebf /_pytest/test_eventrouter.py
parentbf9ef6f4bcd580a9b4ba858537d0a99cae7bb87e (diff)
downloadwee-slack-373baece5094b5bedf10e08ea95d09be3619fd23.tar.gz
Format all python files with black
Diffstat (limited to '_pytest/test_eventrouter.py')
-rw-r--r--_pytest/test_eventrouter.py4
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