[Python-modules-commits] [panoramisk] 07/08: use pytest to run tests

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Mon Aug 22 20:41:55 UTC 2016


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

oorestisime-guest pushed a commit to branch master
in repository panoramisk.

commit f5e78133a01da61a4f9ecb98959b0f6c6e809bb2
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Mon Aug 22 22:28:15 2016 +0200

    use pytest to run tests
---
 debian/control | 3 ++-
 debian/rules   | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 23becac..771c70e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,9 @@ Maintainer: Orestis Ioannou <orestis at oioannou.com>
 Build-Depends:
  debhelper (>= 9),
  dh-python,
- python3-all,
  python-sphinx,
+ python3-all,
+ python3-pytest,
  python3-setuptools,
 X-Python3-Version: >= 3.4
 Standards-Version: 3.9.8
diff --git a/debian/rules b/debian/rules
index 24247ab..a8b4214 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,6 @@ export PYBUILD_NAME=panoramisk
 override_dh_auto_build:
 	$(MAKE) -C docs html
 	dh_auto_build
+
+override_dh_auto_test:
+	PYTHONPATH=. dh_auto_test

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



More information about the Python-modules-commits mailing list