Run weblate integration tests automatically
We have already automatic tests for the integration scripts. As long as they are not run automatically, the tests get bitrotten as we see in tails#17870 (closed).
The tests live in puppet-tails:files/weblate/scripts/tests/. The tests are created to use a Vagrant virtual box to run the tests. To use and run the tests see the HACKING file. Here the short form:
- Setup the VM:
vagrant up --provider=libvirt
- run the tests:
vagrant ssh -c ". venv/bin/activate && cd ~/puppet-tails/files/weblate/scripts && python3 -m nose"
Related issues
Edited by hefee