aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-10-05 22:45:27 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2020-10-05 22:50:59 +0200
commit3be133d473a1a3965efb1bfcb2927325f6bdfd67 (patch)
treef8942da11fb7983030e76d5d0eb544b9f63dc0d1 /_pytest
parentaacf64e617a4f82f95fd5199f3e5528e846aede5 (diff)
downloadwee-slack-3be133d473a1a3965efb1bfcb2927325f6bdfd67.tar.gz
Print error message when sending message fails
Relates to #797
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/test_processreply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_processreply.py b/_pytest/test_processreply.py
index 59ff560..994b43f 100644
--- a/_pytest/test_processreply.py
+++ b/_pytest/test_processreply.py
@@ -7,7 +7,7 @@ def test_process_reply(realish_eventrouter, team, channel_general):
message_ts = SlackTS('12341234.123456')
message_text = 'reply test'
channel_general.send_message(message_text)
- team.ws.add({'reply_to': 1, '_team': team.team_hash, 'ts': str(message_ts)})
+ team.ws.add({'ok': True, 'reply_to': 1, '_team': team.team_hash, 'ts': str(message_ts)})
realish_eventrouter.receive_ws_callback(team.team_hash, None)
realish_eventrouter.handle_next()