aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_processsubteamcreated.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-02-09 14:44:38 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2020-02-23 18:47:05 +0100
commit1177240dd248daf3592d808cbb14ab2c906089c9 (patch)
tree8ed7444b6c8e9c936f133890e147d1de04f15234 /_pytest/test_processsubteamcreated.py
parent0763ae4d3279757bd600c7b37834ee79a6253452 (diff)
downloadwee-slack-1177240dd248daf3592d808cbb14ab2c906089c9.tar.gz
Cleanup/simplify callback functions
Diffstat (limited to '_pytest/test_processsubteamcreated.py')
-rw-r--r--_pytest/test_processsubteamcreated.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_processsubteamcreated.py b/_pytest/test_processsubteamcreated.py
index 6c2bb35..299ac6f 100644
--- a/_pytest/test_processsubteamcreated.py
+++ b/_pytest/test_processsubteamcreated.py
@@ -9,7 +9,7 @@ def test_process_subteam_created(realish_eventrouter, team):
datafile = '_pytest/data/websocket/1483975206.59-subteam_created.json'
data = json.loads(open(datafile, 'r').read())
team.ws.add(data)
- realish_eventrouter.receive_ws_callback(team.team_hash)
+ realish_eventrouter.receive_ws_callback(team.team_hash, None)
realish_eventrouter.handle_next()
assert len(team.subteams) == 2