wazo-calld provides REST API to create, control calls and hangup calls, and sends events when something happens to a call.
The server is already provided as a part of Wazo. Please refer to the documentation for further details on installing one.
pip install tox
tox --recreate -e py37
You need Docker installed on your machine.
cd integration_tests
pip install -r test-requirements.txt
git clone https://github.com/wazo-platform/chan-test
export CHAN_TEST_DIR=$PWD/chan-test # CHAN_TEST_DIR defaults to ../../chan-test
make test-setup
make test
Running the integration tests is controlled by the following environment variables:
INTEGRATION_TEST_TIMEOUT
: controls the startup timeout of each containerLOCAL_GIT_REPOS
: may be used to mount development python packages inside containers