mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user