Create terminal.py to run bots in the terminal.

This program replaces zulip_bot_output.py, which had
gotten a little out of date.

It should be able to simulate a terminal conversation for
all of our bots, including those that use "advanced" features:

    third party config files: tested with giphy
    message updates: tested with incrementor
    storage: tested with virtual_fs and others
This commit is contained in:
Steve Howell 2017-11-28 08:44:39 -08:00 committed by showell
parent 536ba1843a
commit 80e4ef9f72
6 changed files with 159 additions and 111 deletions

View file

@ -17,9 +17,10 @@ zulip_bots # This directory
│ ├───lib.py # Backbone of run.py
│ ├───provision.py # Creates a development environment.
│ ├───run.py # Used to run bots.
│ ├───simple_lib.py # Used for terminal testing.
│ ├───test_lib.py # Backbone for bot unit tests.
│ ├───test_run.py # Unit tests for run.py
│ └───zulip_bot_output.py # Used to test bots in the command line.
│ └───terminal.py # Used to test bots in the command line.
├───generate_manifest.py # Helper-script for packaging.
└───setup.py # Script for packaging.
```