commit:     ad53e8e84de5586c1f371ed60dd5aaa10093dd93
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 10:34:57 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 11:55:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad53e8e8

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 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
 }

Reply via email to