Dev notes
Running unit tests
pip install tox
tox --recreate -e py37
Running integration tests
You need Docker installed on your machine.
cd integration_testspip install -r test-requirements.txtgit clone https://github.com/wazo-platform/chan-testexport CHAN_TEST_DIR=$PWD/chan-test # CHAN_TEST_DIR defaults to ../../chan-testmake test-setupmake test
Environment variables
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