James Valleroy 085ed3444a
debian: Add unit tests to autopkgtest
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-29 18:10:14 -07:00

18 lines
603 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-modules 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
Depends: git, python3-pytest, python3-pytest-django, @