dev-python/proton-vpn-network-manager: use PYTEST_IGNORE to ignore failing tests

See-also: a931487cf9
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
Mattéo Rossillol‑‑Laruelle committed 2025-06-15 12:06:28 +02:00
1 parent ab7a224c56
commit 672dc8f50f
1 file changed
+3 -2
@@ -42,11 +42,12 @@ distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
sed -i "/--cov/d" setup.cfg || die
rm tests/unit/core/test_networkmanager.py || die
}
python_test() {
# VPN connection cannot be tested within sandbox
local EPYTEST_IGNORE=( tests/unit/core/test_networkmanager.py )
XDG_RUNTIME_DIR="${T}/python_test" epytest
}