From d7774f16018d6454e5861059efe966041a369613 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 19 Nov 2021 19:12:07 +0100 Subject: dev-python/ansible-compat: deselect network sandbox-violating tests All of these tests fail if the network sandbox is active because they try to connect to the Ansible Galaxy API server. One of these days I *will* remember that our network sandbox does not work in Docker. Closes: https://bugs.gentoo.org/824950 Signed-off-by: Marek Szuba --- dev-python/ansible-compat/ansible-compat-0.5.0.ebuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'dev-python/ansible-compat') diff --git a/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild b/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild index 4001784180fa..7b7537c2f7bc 100644 --- a/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild +++ b/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild @@ -33,6 +33,20 @@ BDEPEND="$(python_gen_cond_dep ' ) ')" +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + test/test_runtime.py::test_install_collection + test/test_runtime.py::test_install_collection_dest + test/test_runtime.py::test_prepare_environment_with_collections + test/test_runtime.py::test_prerun_reqs_v1 + test/test_runtime.py::test_prerun_reqs_v2 + test/test_runtime.py::test_require_collection_no_cache_dir + test/test_runtime.py::test_require_collection_wrong_version + test/test_runtime.py::test_require_collection + test/test_runtime.py::test_upgrade_collection + test/test_runtime_example.py::test_runtime +) + # Requires currently unpackaged Sphinx extension myst_parser #distutils_enable_sphinx docs 'dev-python/sphinx_ansible_theme' -- cgit v1.2.3-65-gdbad