aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_presencechange.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_presencechange.py
parentbf9ef6f4bcd580a9b4ba858537d0a99cae7bb87e (diff)
downloadwee-slack-373baece5094b5bedf10e08ea95d09be3619fd23.tar.gz
Format all python files with black
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()