aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_processsubteamupdated.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/test_processsubteamupdated.py')
-rw-r--r--_pytest/test_processsubteamupdated.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/_pytest/test_processsubteamupdated.py b/_pytest/test_processsubteamupdated.py
index e3eb824..6eea30f 100644
--- a/_pytest/test_processsubteamupdated.py
+++ b/_pytest/test_processsubteamupdated.py
@@ -6,13 +6,13 @@ import json
def test_process_subteam_self_updated(realish_eventrouter, team):
assert len(team.subteams) == 1
- datafile = '_pytest/data/websocket/1483975206.59-subteam_updated.json'
- data = json.loads(open(datafile, 'r').read())
+ datafile = "_pytest/data/websocket/1483975206.59-subteam_updated.json"
+ data = json.loads(open(datafile, "r").read())
team.ws.add(data)
realish_eventrouter.receive_ws_callback(team.team_hash, None)
realish_eventrouter.handle_next()
- subteam = team.subteams['TGX0ALBK3']
+ subteam = team.subteams["TGX0ALBK3"]
- assert '@{}'.format(data['subteam']['handle']) == subteam.handle
- assert data['subteam']['description'] == subteam.description
- assert data['subteam']['name'] == subteam.name
+ assert "@{}".format(data["subteam"]["handle"]) == subteam.handle
+ assert data["subteam"]["description"] == subteam.description
+ assert data["subteam"]["name"] == subteam.name