aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_processsubteamupdated.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-08-24 17:25:51 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-08-25 19:42:06 +0200
commit88f02db6f1bdade3c745123a6886bf4f47a4ed9c (patch)
treeb9fa1cb11b6d89cf90a412b59eb7825def8dcd15 /_pytest/test_processsubteamupdated.py
parent73c79f2960f5852f56879e26c57cb00043cbe343 (diff)
downloadwee-slack-88f02db6f1bdade3c745123a6886bf4f47a4ed9c.tar.gz
Include @ in subteam handle
Subteams/usergroups should never be used without the @.
Diffstat (limited to '_pytest/test_processsubteamupdated.py')
-rw-r--r--_pytest/test_processsubteamupdated.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_processsubteamupdated.py b/_pytest/test_processsubteamupdated.py
index 0a98aaa..94c6054 100644
--- a/_pytest/test_processsubteamupdated.py
+++ b/_pytest/test_processsubteamupdated.py
@@ -13,6 +13,6 @@ def test_process_subteam_self_updated(realish_eventrouter, team):
realish_eventrouter.handle_next()
subteam = team.subteams['TGX0ALBK3']
- assert data['subteam']['handle'] == subteam.handle
+ assert '@{}'.format(data['subteam']['handle']) == subteam.handle
assert data['subteam']['description'] == subteam.description
assert data['subteam']['name'] == subteam.name