dev-python/selenium: Disable plugin autoloading

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-24 16:34:18 +02:00
parent e4f041a12d
commit 3411d69f22

View File

@@ -78,5 +78,6 @@ python_test() {
rm -rf selenium || die
# https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24
# seriously?
epytest -o "python_files=*_tests.py test_*.py"
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o "python_files=*_tests.py test_*.py" -p pytest_mock
}