mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user