[fiona] 18/19: Use py.test instead of nosetests

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Fri Nov 28 23:54:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository fiona.

commit 5c2af20cd89693277208fbd99cbf4a8f0aede683
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Sat Nov 29 00:45:46 2014 +0100

    Use py.test instead of nosetests
---
 debian/control | 2 ++
 debian/rules   | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/control b/debian/control
index 789afb8..3fbe3fa 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,8 @@ Build-Depends: debhelper (>= 9),
                python-sphinx,
                python-six,
                python3-six,
+               python-pytest,
+               python3-pytest,
 Standards-Version: 3.9.6
 Homepage: https://github.com/Toblerity/Fiona
 X-Python-Version: >= 2.5
diff --git a/debian/rules b/debian/rules
index 36b9145..e5a145b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 export PYBUILD_NAME=fiona
 
+export PYBUILD_TEST_PYTEST=1
 #test_cli are disabled because they test the tool after installation
 export PYBUILD_BEFORE_TEST = mv {dir}/tests/test_cli.py {dir}/tests/test_cli.py.disabled
 export PYBUILD_AFTER_TEST = mv {dir}/tests/test_cli.py.disabled {dir}/tests/test_cli.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git



More information about the Pkg-grass-devel mailing list