Skip to content

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:

  1. Setup the VM: vagrant up --provider=libvirt
  2. run the tests: vagrant ssh -c ". venv/bin/activate && cd ~/puppet-tails/files/weblate/scripts && python3 -m nose"

Related issues

Edited by hefee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information