aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_everything.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2021-05-09 12:47:30 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2021-05-11 22:17:40 +0200
commitd933488b7272106a4720591673528ecdf4cef913 (patch)
treee7d868258f231c44d07b5b2a48e2ab7ac70378a2 /_pytest/test_everything.py
parent33d167db20408cad4d635e69493ab7dbc67b12b2 (diff)
downloadwee-slack-d933488b7272106a4720591673528ecdf4cef913.tar.gz
Support MPIMs in channel list of rtm.start
For some reason, some MPIMs are listed in the channel list of the response from rtm.start, with is_mpim set to true, instead of in the mpims list. These incorrectly appeared as private channels instead of MPIMs in wee-slack. These entries do not contain a members list, so we have to call conversations.members and set the name after receiving the response from that.
Diffstat (limited to '_pytest/test_everything.py')
-rw-r--r--_pytest/test_everything.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_everything.py b/_pytest/test_everything.py
index 9d0ad8d..922c78d 100644
--- a/_pytest/test_everything.py
+++ b/_pytest/test_everything.py
@@ -13,4 +13,4 @@ def test_everything(realish_eventrouter, team):
realish_eventrouter.receive_ws_callback(team.team_hash, None)
realish_eventrouter.handle_next()
- assert len(realish_eventrouter.queue) == 18
+ assert len(realish_eventrouter.queue) == 19