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.py24
1 files changed, 14 insertions, 10 deletions
diff --git a/_pytest/test_presencechange.py b/_pytest/test_presencechange.py
index ffe28c9..fc4d379 100644
--- a/_pytest/test_presencechange.py
+++ b/_pytest/test_presencechange.py
@@ -2,16 +2,20 @@ from __future__ import print_function, unicode_literals
def test_PresenceChange(realish_eventrouter, team, user_alice):
- team.ws.add({
- "type": "presence_change",
- "user": user_alice.identifier,
- "presence": "active",
- })
- team.ws.add({
- "type": "presence_change",
- "user": user_alice.identifier,
- "presence": "away",
- })
+ team.ws.add(
+ {
+ "type": "presence_change",
+ "user": user_alice.identifier,
+ "presence": "active",
+ }
+ )
+ team.ws.add(
+ {
+ "type": "presence_change",
+ "user": user_alice.identifier,
+ "presence": "away",
+ }
+ )
realish_eventrouter.receive_ws_callback(team.team_hash, None)
realish_eventrouter.handle_next()