[Python-modules-commits] [keyrings.alt] 01/01: Tell pytest to exclude some files that cannot be imported.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Wed Dec 14 11:07:02 UTC 2016


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

mitya57 pushed a commit to branch master
in repository keyrings.alt.

commit f4a3a0bc948a2563388156db4c190ff5ed22999c
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Wed Dec 14 14:06:52 2016 +0300

    Tell pytest to exclude some files that cannot be imported.
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2a265ce..4c5aa9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ keyrings.alt (1.3-1) UNRELEASED; urgency=medium
   * Change license name in debian/copyright from MIT to Expat.
   * New upstream release.
   * Bump setuptools-scm dependency to ≥ 1.15.0, as required by setup.py.
+  * Tell pytest to exclude some files that cannot be imported.
 
   [ Ondřej Nový ]
   * Depend on newer dh-python which sets SETUPTOOLS_SCM_PRETEND_VERSION
diff --git a/debian/rules b/debian/rules
index 18b0576..030f43a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 #DH_VERBOSE=1
 
 export PYBUILD_NAME=keyrings.alt
+export PYBUILD_TEST_ARGS_python2=--ignore=keyrings/alt/_win_crypto.py --ignore=tests/test_crypto.py
+export PYBUILD_TEST_ARGS_python3=--ignore=keyrings/alt/_win_crypto.py
 
 %:
 	dh $@ --with python2,python3 --buildsystem pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/keyrings.alt.git



More information about the Python-modules-commits mailing list