dev-python/apache-libcloud: Use NO_INTERNET to deselect tests

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-19 12:34:57 +02:00
parent 43bb60ab85
commit ad53e8e84d

View File

@@ -54,13 +54,11 @@ src_prepare() {
python_test() {
local EPYTEST_DESELECT=(
# Needs network access
libcloud/test/compute/test_ovh.py::OvhTests::test_list_nodes_invalid_region
libcloud/test/test_connection.py::BaseConnectionClassTestCase::test_connection_timeout_raised
# TODO
libcloud/test/test_init.py::TestUtils::test_init_once_and_debug_mode
)
local -x NO_INTERNET=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}