Robert Hönig
a19a69bfe3
embedded bots: Log warning when bot quit()s.
...
External bots may call bot_handler.quit() when
they wish to terminate, e.g. due to a misconfiguration.
Currently, embedded bots ignore calls to quit(), even
though they signal a problem. This commit does the first
step in handling quit() calls by logging a warning.
2018-02-13 14:56:37 -08:00
Robert Hönig
323284e0b6
backend: Call real endpoint in create_test_bot().
...
This allows tests to be more realistical and to
directly test payload added to add_bot_backend().
2018-02-09 12:30:24 -08:00
rht
4f5b1c0a5a
zerver/tests: Use python 3 syntax for typing in most files.
2017-11-16 21:52:01 -08:00
Tim Abbott
957e1c2ec6
mypy: Fix buggy import setup for embedded bot tests.
2017-11-03 14:38:43 -07:00
derAnfaenger
f382875d5a
embedded bots: Add full test coverage for queue processor.
2017-11-03 13:57:24 -07:00
Steve Howell
25379a3b19
Fix send_message calls in test_embedded_bot_system.py.
2017-10-28 10:20:59 -07:00
derAnfaenger
8680541912
embedded bots: Add message flow tests.
2017-10-25 16:13:37 -07:00