dev-python/pytest-describe: Fix test failures due to random plugins

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-11-24 17:04:35 +01:00
parent 5062b95d74
commit ed5e282d65

View File

@@ -27,8 +27,7 @@ RDEPEND="
distutils_enable_tests pytest
python_test() {
# We need to disable some plugins because tests don't like unexpected
# output
local -x PYTEST_ADDOPTS="-p no:flaky -p no:capturelog"
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_describe.plugin
epytest
}