From 6698b70f98035da05a6d229bb68c3afad8838ac3 Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Mon, 15 Jun 2020 19:29:18 -0400 Subject: [PATCH] d/t/control: change to test with flake8 and nosetests Signed-off-by: Dan Streetman --- debian/tests/control | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/tests/control b/debian/tests/control index 84b2b56..cf5ef51 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,4 +1,7 @@ -Test-Command: set -ex ; for i in $(py3versions -s) ; do "$i" setup.py test; done -Depends: - @builddeps@, +Test-Command: flake8 -v --max-line-length=99 --extend-exclude=ubuntu-archive-assistant,ubuntu_archive_assistant +Depends: flake8 +Restrictions: allow-stderr + +Test-Command: nosetests3 -v ubuntutools --with-coverage --cover-package=ubuntutools ubuntutools +Depends: python3-nose, python3-nose-cov, python3-setuptools, @ Restrictions: allow-stderr