aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_presencechange.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/test_presencechange.py')
-rw-r--r--_pytest/test_presencechange.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/_pytest/test_presencechange.py b/_pytest/test_presencechange.py
index 3dee5c3..a6e9eb6 100644
--- a/_pytest/test_presencechange.py
+++ b/_pytest/test_presencechange.py
@@ -12,11 +12,10 @@ def test_PresenceChange(realish_eventrouter, team, user_alice):
"user": user_alice.identifier,
"presence": "away",
})
-
realish_eventrouter.receive_ws_callback(team.team_hash)
+
realish_eventrouter.handle_next()
assert user_alice.presence == "active"
- realish_eventrouter.receive_ws_callback(team.team_hash)
realish_eventrouter.handle_next()
assert user_alice.presence == "away"