summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-11-07 01:15:54 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-11-07 03:37:54 -0500
commit12035dabeab1cf4a5a75330a197ce2133bf888c0 (patch)
tree0f0d797d2e24fd325d042c5829d5fe70eda626ed /dev-python/pytest-bdd
parentdev-python/pytest-bdd: re-enable terminal test using COLUMNS (diff)
downloadgentoo-12035dabeab1cf4a5a75330a197ce2133bf888c0.tar.gz
gentoo-12035dabeab1cf4a5a75330a197ce2133bf888c0.tar.bz2
gentoo-12035dabeab1cf4a5a75330a197ce2133bf888c0.zip
dev-python/pytest-bdd: disable pytest plugins autoload
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/pytest-bdd')
-rw-r--r--dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
index c3be9a1f2c6a..1b1087b8edf8 100644
--- a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
+++ b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
@@ -30,5 +30,9 @@ src_test() {
# terminal_reporter test needs exact wrapping
local -x COLUMNS=80
+ # hooks output parsing may be affected by other pytest-*, e.g. tornasync
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=pytest_bdd.plugin
+
distutils-r1_src_test
}