summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
index 47f40c17d997..06bb25c5462e 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
@@ -21,10 +21,6 @@ RDEPEND="
x11-base/xorg-server[xvfb]
"
-EPYTEST_PLUGINS=()
+EPYTEST_PLUGINS=( ${PN} )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
distutils_enable_tests pytest
-
-python_test() {
- local -x PYTEST_PLUGINS=pytest_xvfb
- epytest
-}