This simplifies testing stateful bots by integrating the StateHandler into the test library. As a side-effect, the mock bot handler gets reused during a test, making the tests more realistic. The StateHandler now keeps its state during a call to check_expected_responses, forcing some stateful tests to be more verbose and explicit. |
||
---|---|---|
.. | ||
__init__.py | ||
doc.md | ||
incrementor.py | ||
test_incrementor.py |