mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
18 lines
700 B
Plaintext
18 lines
700 B
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
|
|
|
|
#
|
|
# Run unit and integration tests on installed files.
|
|
#
|
|
Test-Command: PYTHONPATH='/usr/lib/python3/dist-packages/plinth/' py.test-3 -p no:cacheprovider --cov=plinth --cov-report=html:debci/htmlcov --cov-report=term
|
|
Depends: git, python3-openssl, python3-pytest, python3-pytest-cov, python3-pytest-django, @
|