diff --git a/debian/changelog b/debian/changelog index 352929e..14bdf58 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-csscompressor (0.9.4-2) unstable; urgency=medium + + * Using python$$i -m pytest instead of py.test-$$i when running unit tests. + + -- Thomas Goirand Mon, 28 Dec 2015 09:16:56 +0000 + python-csscompressor (0.9.4-1) unstable; urgency=medium * Initial release. (Closes: #808764) diff --git a/debian/rules b/debian/rules index 189b256..af1e28f 100755 --- a/debian/rules +++ b/debian/rules @@ -26,7 +26,7 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) set -e ; set -x ; for i in 2.7 $(PYTHON3S) ; do \ PYMAJOR=`echo $$i | cut -d'.' -f1` ; \ echo "===> Testing with python$$i (python$$PYMAJOR)" ; \ - py.test-$$i csscompressor/tests ; \ + python$$i -m pytest csscompressor/tests ; \ done endif