aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_topic_command.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-06-12 17:42:37 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-06-12 17:48:32 +0200
commit849ffc6bf123242cc20846d913768c7690e9fc5f (patch)
tree84449e582ef21cc42ae9917b9f05db9cc7636ee1 /_pytest/test_topic_command.py
parent65ecb1ac81362b2e3f4c6dcbb8007bc58301b6d6 (diff)
downloadwee-slack-849ffc6bf123242cc20846d913768c7690e9fc5f.tar.gz
Support topic changes for private channels
Fixes #697
Diffstat (limited to '_pytest/test_topic_command.py')
-rw-r--r--_pytest/test_topic_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_topic_command.py b/_pytest/test_topic_command.py
index b4c851d..2137c27 100644
--- a/_pytest/test_topic_command.py
+++ b/_pytest/test_topic_command.py
@@ -86,7 +86,7 @@ def test_call_topic_with_channel_and_string(realish_eventrouter, channel_general
result = topic_command_cb(None, current_buffer, command)
request = realish_eventrouter.queue[-1]
- assert request.request == 'channels.setTopic'
+ assert request.request == 'conversations.setTopic'
assert request.post_data == {
'channel': 'C407ABS94', 'token': 'xoxs-token', 'topic': 'new topic'}
assert result == wee_slack.w.WEECHAT_RC_OK_EAT