[med-svn] [Git][med-team/q2-quality-filter][master] 2 commits: use py.test-3 in autopkgtest
Étienne Mollier
gitlab at salsa.debian.org
Thu Dec 3 18:32:56 GMT 2020
Étienne Mollier pushed to branch master at Debian Med / q2-quality-filter
Commits:
216e61fe by Étienne Mollier at 2020-12-03T19:10:38+01:00
use py.test-3 in autopkgtest
The test suite triggered by nosetests3 is not able to make use of
pytest decorators, hence several failures.
- - - - -
ae987393 by Étienne Mollier at 2020-12-03T19:17:01+01:00
new version closes #974733
- - - - -
3 changed files:
- debian/changelog
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,7 +1,8 @@
q2-quality-filter (2020.11.0-1) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* Team upload.
- * New upstream version
+ * New upstream version (Closes: #974733)
* Standards-Version: 4.5.1 (routine-update)
* debhelper-compat 13 (routine-update)
* Add salsa-ci file (routine-update)
@@ -11,6 +12,9 @@ q2-quality-filter (2020.11.0-1) UNRELEASED; urgency=medium
* Delaying true testing to autopkgtests since QIIME2 module cannot be registered
at build time.
+ [ Étienne Mollier ]
+ * Trigger tests via py.test-3 instead of nosetests3.
+
-- Andreas Tille <tille at debian.org> Thu, 03 Dec 2020 13:58:36 +0100
q2-quality-filter (2019.10.0-1) unstable; urgency=medium
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
Tests: run-unit-test
-Depends: @, python3-nose
+Depends: @, python3-pytest
Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -12,10 +12,10 @@ cp -a /usr/lib/python3/dist-packages/${pkg}* "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"
-if [ ! -e /usr/bin/nosetests3 ] ; then
- echo "Please install package python3-nose to run this script"
+if [ ! -e /usr/bin/py.test-3 ] ; then
+ echo "Please install package python3-pytest to run this script"
exit 1
fi
# Run build-time tests
-nosetests3
+py.test-3
View it on GitLab: https://salsa.debian.org/med-team/q2-quality-filter/-/compare/04e0556448b004f2cc034192371c47ef10ec61c5...ae9873939995a08f53938f58138e474216f64d58
--
View it on GitLab: https://salsa.debian.org/med-team/q2-quality-filter/-/compare/04e0556448b004f2cc034192371c47ef10ec61c5...ae9873939995a08f53938f58138e474216f64d58
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201203/027132b7/attachment-0001.html>
More information about the debian-med-commit
mailing list