summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-16 13:47:16 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-16 13:47:57 +0200
commitee8e1c46890d2d109fc583a22831280faf3ab99d (patch)
tree4dfa5e5fac79c6d61e6b023a5415eecda4c26ffe
parentnet-proxy/haproxy: Version bump (diff)
downloadgentoo-ee8e1c46890d2d109fc583a22831280faf3ab99d.tar.gz
gentoo-ee8e1c46890d2d109fc583a22831280faf3ab99d.tar.bz2
gentoo-ee8e1c46890d2d109fc583a22831280faf3ab99d.zip
dev-python/sphinxcontrib-websupport: Fix running tests
-rw-r--r--dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild
index 36f4308b2e8..9d9db414ce3 100644
--- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild
+++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild
@@ -37,6 +37,11 @@ python_install_all() {
find "${ED}" -name '*.pth' -delete || die
}
+src_test() {
+ cd tests || die
+ distutils-r1_src_test
+}
+
python_test() {
- pytest -vv tests || die "Tests fail with ${EPYTHON}"
+ pytest -vv || die "Tests fail with ${EPYTHON}"
}