mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
Tests: - Build the Debian package and run autopkgtest with qemu backend. The test is passed. - Revert the recent fix for loading icons. Build the Debian package and run autopkgtests again. It is failed due to maximum redirects followed. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
#
|
|
# Smoke test to check various basics on an installed version of Plinth. This
|
|
# checks that the following aspects are working okay:
|
|
# - Python runtime
|
|
# - Python library dependencies
|
|
# - FreedomBox configuration
|
|
# - Ability to create and initialize database
|
|
# - Module inititailzation for essential modules
|
|
#
|
|
Test-Command: plinth --list-apps 2> /dev/null
|
|
Restrictions: needs-root, breaks-testbed
|
|
|
|
#
|
|
# Run unit and integration tests on installed files.
|
|
#
|
|
Test-Command: PYTHONPATH='/usr/lib/python3/dist-packages/' py.test-3 -p no:cacheprovider --cov=plinth --cov-report=html:debci/htmlcov --cov-report=term
|
|
Depends: e2fsprogs, git, python3-pytest, python3-pytest-cov, python3-pytest-django, @
|
|
Restrictions: breaks-testbed
|
|
|
|
#
|
|
# Try to access the FreedomBox web interface.
|
|
#
|
|
# iptables package installs alternatives files, with iptables-nft as default alternative.
|
|
# Without it, firewalld has this error: INVALID_IPV: 'ipv4' is not a valid backend or is unavailable
|
|
#
|
|
Tests: access-web-interface
|
|
Depends: iptables, @
|
|
Restrictions: needs-root, isolation-machine, breaks-testbed
|