dev-python/sphinxcontrib-websupport: Fix running tests
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Jul 2018 11:47:16 +0000 (13:47 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Jul 2018 11:47:57 +0000 (13:47 +0200)
dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild

index 36f4308b2e8e6b49b716475ebeeee452fa73a40e..9d9db414ce3cdde2d2404df7aea14113699a12bc 100644 (file)
@@ -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}"
 }