Using python$$i -m pytest instead of py.test-$$i when running unit tests.

This commit is contained in:
Thomas Goirand 2015-12-28 09:17:32 +00:00
parent 8286591653
commit fd8459f502
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -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 <zigo@debian.org> Mon, 28 Dec 2015 09:16:56 +0000
python-csscompressor (0.9.4-1) unstable; urgency=medium
* Initial release. (Closes: #808764)

2
debian/rules vendored
View File

@ -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