summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-19 12:34:57 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-19 13:55:04 +0200
commitad53e8e84de5586c1f371ed60dd5aaa10093dd93 (patch)
treeb4bb6413da7479b6207a8f9f60a267239bb96ff2
parentsci-astronomy/predict: treeclean (diff)
downloadgentoo-ad53e8e84de5586c1f371ed60dd5aaa10093dd93.tar.gz
gentoo-ad53e8e84de5586c1f371ed60dd5aaa10093dd93.tar.bz2
gentoo-ad53e8e84de5586c1f371ed60dd5aaa10093dd93.zip
dev-python/apache-libcloud: Use NO_INTERNET to deselect tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild b/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild
index 531a21e0f26a..beb8bc3d60aa 100644
--- a/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild
+++ b/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild
@@ -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
}