| 1 | # |
| 2 | # Smoke test to check various basics on an installed version of Plinth. This |
| 3 | # checks that the following aspects are working okay: |
| 4 | # - Python runtime |
| 5 | # - Python library dependencies |
| 6 | # - FreedomBox configuration |
| 7 | # - Ability to create and initialize database |
| 8 | # - Module inititailzation for essential modules |
| 9 | # |
| 10 | Test-Command: plinth --list-apps 2> /dev/null |
| 11 | Restrictions: needs-root, breaks-testbed |
| 12 | |
| 13 | # |
| 14 | # Run unit and integration tests on installed files. |
| 15 | # |
| 16 | Test-Command: PYTHONPATH='/usr/lib/python3/dist-packages/' py.test-3 -p no:cacheprovider --cov=plinth --cov-report=html:debci/htmlcov --cov-report=term |
| 17 | Depends: e2fsprogs, git, python3-pytest, python3-pytest-cov, python3-pytest-django, @ |
| 18 | Restrictions: breaks-testbed |
| 19 | |
| 20 | # |
| 21 | # Try to access the FreedomBox web interface. |
| 22 | # |
| 23 | # iptables package installs alternatives files, with iptables-nft as default alternative. |
| 24 | # Without it, firewalld has this error: INVALID_IPV: 'ipv4' is not a valid backend or is unavailable |
| 25 | # |
| 26 | Tests: access-web-interface |
| 27 | Depends: iptables, @ |
| 28 | Restrictions: needs-root, isolation-machine, breaks-testbed |