Using python$$i -m pytest instead of py.test-$$i when running unit tests.
This commit is contained in:
parent
8286591653
commit
fd8459f502
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue