aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_process_message.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-05-05 22:19:41 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-05-05 22:19:41 +0200
commite21db0d39b3f415c5c00a71bac4c726f84ed8f44 (patch)
tree8cf68825b457b4e151799dbe8930a9b2e420e86d /_pytest/test_process_message.py
parent0939fd32fbd6d2763187919c6cc06088a79a3c6d (diff)
downloadwee-slack-e21db0d39b3f415c5c00a71bac4c726f84ed8f44.tar.gz
Fix broken tests
I forgot to make some required changes in the tests after commit f3d880e and commit 49d481c.
Diffstat (limited to '_pytest/test_process_message.py')
-rw-r--r--_pytest/test_process_message.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/_pytest/test_process_message.py b/_pytest/test_process_message.py
index 6209cdf..225b971 100644
--- a/_pytest/test_process_message.py
+++ b/_pytest/test_process_message.py
@@ -23,17 +23,9 @@ def test_process_message(realish_eventrouter, team, user_alice):
realish_eventrouter.receive_ws_callback(team.team_hash)
realish_eventrouter.handle_next()
-
- realish_eventrouter.receive_ws_callback(team.team_hash)
realish_eventrouter.handle_next()
-
- realish_eventrouter.receive_ws_callback(team.team_hash)
realish_eventrouter.handle_next()
-
- realish_eventrouter.receive_ws_callback(team.team_hash)
realish_eventrouter.handle_next()
-
- realish_eventrouter.receive_ws_callback(team.team_hash)
realish_eventrouter.handle_next()
assert sum([len(channel.messages) for channel in team.channels.values()]) == 3