aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_presencechange.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_presencechange.py
parent0763ae4d3279757bd600c7b37834ee79a6253452 (diff)
downloadwee-slack-1177240dd248daf3592d808cbb14ab2c906089c9.tar.gz
Cleanup/simplify callback functions
Diffstat (limited to '_pytest/test_presencechange.py')
-rw-r--r--_pytest/test_presencechange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_presencechange.py b/_pytest/test_presencechange.py
index a6e9eb6..ffe28c9 100644
--- a/_pytest/test_presencechange.py
+++ b/_pytest/test_presencechange.py
@@ -12,7 +12,7 @@ def test_PresenceChange(realish_eventrouter, team, user_alice):
"user": user_alice.identifier,
"presence": "away",
})
- realish_eventrouter.receive_ws_callback(team.team_hash)
+ realish_eventrouter.receive_ws_callback(team.team_hash, None)
realish_eventrouter.handle_next()
assert user_alice.presence == "active"