[Python-modules-commits] [pyjokes] 04/04: Enable tests

Ethan Ward ethanward-guest at moszumanska.debian.org
Tue Aug 22 00:52:09 UTC 2017


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

ethanward-guest pushed a commit to branch master
in repository pyjokes.

commit 1c1055bd21b38fed8360a61a7bf02e70f627291e
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Mon Aug 21 19:52:02 2017 -0500

    Enable tests
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 10933c4..d3513f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 
-export DH_VERBOSE=1
 export PYBUILD_NAME=pyjokes
-export PYBUILD_DISABLE=test
+# This disables tests that test the unneeded pyjokes binary that only exists to check for a mispelling
+export PYBUILD_TEST_ARGS=-k "not test_cli_error"
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild --test-pytest
 
 override_dh_python3:
 	dh_python3 --shebang=/usr/bin/python3

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



More information about the Python-modules-commits mailing list