dev-python/python-dbusmock: Force short TMPDIR to fix tests

Closes: https://bugs.gentoo.org/927496
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-03-24 16:41:32 +01:00
parent 78abc588b5
commit bdd5c7e0db

View File

@@ -45,7 +45,10 @@ src_prepare() {
}
python_test() {
# tests are fragile to long socket paths
local -x TMPDIR=/tmp
# Tests break if XDG_DATA_DIRS is modified by flatpak install
unset XDG_DATA_DIRS
distutils-r1_python_test
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}