[med-svn] [Git][med-team/python-pbcommand][master] Use pytest

Andreas Tille gitlab at salsa.debian.org
Sat Dec 7 21:19:27 GMT 2019



Andreas Tille pushed to branch master at Debian Med / python-pbcommand


Commits:
aeec6cfe by Andreas Tille at 2019-12-07T21:18:13Z
Use pytest

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,11 +1,10 @@
-python-pbcommand (1.1.1+git20191122.ec024c3-1) unstable; urgency=medium
+python-pbcommand (1.1.1+git20191122.ec024c3-1) UNRELEASED; urgency=medium
 
   * New upstream version Git checkout
     Drop Python2 support and switch to Python3
     Closes: #932543
   * debhelper-compat 12
   * Standards-Version: 4.4.1
-  TODO: python3-xmlbuilder (#938277)
 
  -- Andreas Tille <tille at debian.org>  Sat, 07 Dec 2019 21:44:15 +0100
 


=====================================
debian/control
=====================================
@@ -6,13 +6,14 @@ Build-Depends: debhelper-compat (= 12),
                dh-python,
                python3-all,
                python3-setuptools,
-               python3-xmlbuilder,
                python3-jsonschema,
                python3-avro,
                python3-numpy,
                python3-requests,
                python3-iso8601,
-               python3-nose <!nocheck>,
+               python3-pytest <!nocheck>,
+               python3-pytest-cov <!nocheck>,
+               python3-pytest-xdist <!nocheck>,
                python3-pbcore <!nocheck>
 Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-pbcommand


=====================================
debian/rules
=====================================
@@ -9,9 +9,3 @@ export PYBUILD_NAME=pbcommand
 
 %:
 	LC_ALL=C.UTF-8 dh $@ --with python3 --buildsystem=pybuild
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=$(CURDIR) \
-	nosetests -s --verbose --logging-config log_nose.cfg --where=tests
-endif



View it on GitLab: https://salsa.debian.org/med-team/python-pbcommand/commit/aeec6cfe15a64805a0353ab6b43a94ca0e736e72

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pbcommand/commit/aeec6cfe15a64805a0353ab6b43a94ca0e736e72
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/20191207/ec74616a/attachment-0001.html>


More information about the debian-med-commit mailing list