neiljp
1991e0128b
contrib_bots: Add check_expected_responses() test helper and use it.
...
This further simplifies the logic for testing a contrib_bots bot to
require very little code per test in the common case.
2017-05-29 20:39:27 -07:00
Abhijeet Kaur
72fadda781
testsuite: Add tests for help bot in contrib_bots.
...
Add test file 'test_help.py'.
2017-05-28 17:12:11 -07:00
Abhijeet Kaur
9f4948c685
bots: Remove unnecessary split() function from help bot.
...
Remove unnecessary split() function from the file
contrib_bots/bots/help/help.py and replaced it with equivalent
simpler string.
2017-05-28 17:12:11 -07:00
Elliott Jin
dd71daa09f
bots: Add __init__.py so bot modules can be imported.
2017-05-25 15:00:51 -07:00
neiljp
915d98aa68
contrib_bots: Remove triage_message() from help bot.
...
This completes removing triage_message from the tree.
2017-05-23 18:30:39 -07:00
neiljp
0606d7acad
bots: Fix help bot replies in private chat, including 3+ users.
...
Also deduplicates the code.
2017-05-23 14:38:49 -07:00
Robert Hönig
fefe869748
Restructure contrib_bots bots to new layout.
...
In order to make the layout of all bots consistent, this commit
moves each bot into a folder with its name and modifies 'run.py'
so that only bots with such a structure can be executed. 'lib'
gets renamed to 'bots'.
2017-01-22 05:42:46 -08:00