diff --git a/debian/control b/debian/control index 603344d..4fdcf00 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Priority: optional Build-Depends: debhelper-compat (= 12), dh-python, python3-all (>= 2.6.6-3), - python3-nose (>= 0.10.0b1), + python3-pytest, python3-setuptools (>= 0.6b3), python3-usb, Standards-Version: 4.4.0 diff --git a/debian/rules b/debian/rules index 4951f81..267f418 100755 --- a/debian/rules +++ b/debian/rules @@ -7,8 +7,10 @@ override_dh_installchangelogs: override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - nosetests3 -e test_challenge_response -e test_serial -e test_status +# nosetests3 -e test_challenge_response -e test_serial -e test_status + pytest-3 -k 'not test_challenge_response and not test_serial and not test_status' endif %: dh $@ --with python3 --buildsystem=pybuild +