aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_topic_command.py
Commit message (Collapse)AuthorAgeFilesLines
* Support specifying cookies in SlackRequestTrygve Aaberge2022-09-171-1/+0
| | | | This is a necessary step for #844
* Format all python files with blackTrygve Aaberge2021-03-201-24/+28
|
* Support newlines in the /topic commandTrygve Aaberge2020-04-191-0/+7
| | | | Fixes #728
* Include channel prefix in key in get_channel_mapTrygve Aaberge2019-08-251-3/+3
| | | | Fixes #587
* Support topic changes for private channelsTrygve Aaberge2019-06-121-1/+1
| | | | Fixes #697
* Fix /topic command output (#691)luk13372019-05-291-1/+1
| | | | | * This change makes sure the /topic command outputs 'Topic for #random is ""' instead of 'Topic for #random is "{'value': ''}"'.
* Cleanup tests and make them compatible with python 3Trygve Aaberge2019-04-081-15/+9
| | | | | | This mainly adds team, channel_general and user_alice as fixtures, so we can use those directly instead of picking arbitrary ones from the lists. It also adds assertions to some tests which where missing it.
* Import print_function and unicode_literals in all test filesTrygve Aaberge2019-04-081-0/+2
|
* test: Add tests for topic_command_cbTrygve Aaberge2017-10-081-1/+53
|
* refactor: Split topic_command_cb and add testsTrygve Aaberge2017-10-081-0/+44
Split out the parts of topic_command_cb that's most interesting and easiest to test into parse_topic_command and add tests for that function.