[Python-modules-commits] [python-flaky] 06/11: Use py.test.

Tristan Seligmann mithrandi at moszumanska.debian.org
Mon Jan 18 14:39:54 UTC 2016


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

mithrandi pushed a commit to branch master
in repository python-flaky.

commit 119fc9a83aa08ff0f34833e6f2bea771378e7563
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Mon Dec 21 22:40:24 2015 +0200

    Use py.test.
---
 debian/control | 6 ++++++
 debian/rules   | 6 +++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index cc628f5..022f7e4 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,14 @@ Build-Depends:
  pypy,
  pypy-setuptools,
  python-all,
+ python-mock,
+ python-nose,
+ python-pytest,
  python-setuptools,
  python3-all,
+ python3-mock,
+ python3-nose,
+ python3-pytest,
  python3-setuptools,
 Standards-Version: 3.9.6
 Homepage: https://github.com/box/flaky
diff --git a/debian/rules b/debian/rules
index eab3a4c..70c0f5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #! /usr/bin/make -f
 
 export PYBUILD_NAME=flaky
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS=-k 'example and not nose and not options' --doctest-modules
+export PYBUILD_DISABLE=test/pypy
+
 %:
-	dh $@ --with pypy,python3,python2 --buildsystem=pybuild
\ No newline at end of file
+	dh $@ --with pypy,python3,python2 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list