summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-17 18:14:06 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-17 18:22:46 +0200
commit50085f27113863e0da8ef156f0fefb8c6807fbf7 (patch)
tree3bb281cc57aebc033f3694da62f67faafc95567d /dev-python/minimock
parentdev-python/minimock: Add a blocker on dev-python/future (diff)
downloadgentoo-50085f27113863e0da8ef156f0fefb8c6807fbf7.tar.gz
gentoo-50085f27113863e0da8ef156f0fefb8c6807fbf7.tar.bz2
gentoo-50085f27113863e0da8ef156f0fefb8c6807fbf7.zip
dev-python/minimock: Enable tests
Diffstat (limited to 'dev-python/minimock')
-rw-r--r--dev-python/minimock/minimock-1.2.8-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/minimock/minimock-1.2.8-r1.ebuild b/dev-python/minimock/minimock-1.2.8-r1.ebuild
index f90db0e08165..d17b05dcf3e1 100644
--- a/dev-python/minimock/minimock-1.2.8-r1.ebuild
+++ b/dev-python/minimock/minimock-1.2.8-r1.ebuild
@@ -25,3 +25,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"
DOCS=( docs/changelog.rst docs/index.rst )
+
+python_test() {
+ "${PYTHON}" -m doctest minimock.py || die "Tests fail with ${EPYTHON}"
+}