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
b1573babcb
testsuite: Add tests for encrypt bot in contrib_bots.
...
Remove previous unittest file for encrypt bot. Add new
test file which is in accordance with the test-suite famework
developed for contrib_bots.
2017-05-28 17:12:11 -07:00
Tim Abbott
bd4be69148
contrib_bots: Fix python 3 lint errors.
2017-05-26 10:18:40 -07:00
Elliott Jin
dd71daa09f
bots: Add __init__.py so bot modules can be imported.
2017-05-25 15:00:51 -07:00
neiljp
ec0de2a7ff
contrib_bots: Switch encrypt bot to use send_reply.
2017-05-23 17:32:51 -07:00
Abhijeet Kaur
92d2981726
contrib bots: Edit code for uniformity.
...
Add one function (get_bot_botname_response()) that generates response
from the given input and replies back to the handle_message with the final
content of response to be sent. Also add code to bots(except followup) to
reply to private messages along with stream messages.
2017-03-14 13:29:19 -07:00
Abhijeet Kaur
6dda0eb506
contrib bots: Rename bots to follow a consistent pattern.
...
Files renamed without any changes.
2017-03-14 13:29:19 -07:00