pip install divio-cli
See Divio Support: How to use the Divio command-line interface
We have two kinds of tests. Small and quick unit tests and the more complex and involved integration tests.
These do not require external communication and can be run with the following command:
tox -- -m "not integration"
These to require a more involved setup and will trigger actions on a real project. You have to provide the project name and your user must be logged in into divio cloud.
You might get asked to provide authentication information during the test, depending on your setup.
tox -- -m "integration" --test_project_name <NAME_OF_A_PROJECT_FOR_TESTING>