From 085ed3444a43dd1d8adf6e25e8b3d36f695dad9b Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 23 Aug 2020 08:52:40 -0400 Subject: [PATCH] debian: Add unit tests to autopkgtest Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- debian/tests/control | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/tests/control b/debian/tests/control index 837bb7779..7f40e398d 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -9,3 +9,9 @@ # 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, @