mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/apache-libcloud: Use NO_INTERNET to deselect tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user