app-admin/ansible-lint: deselect more network-dependent tests

It would be SO nice if my test containers stopped ignoring
the network sandbox, or at least if I remembered that they do.

Closes: https://bugs.gentoo.org/833528
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2022-02-17 13:16:05 +00:00
parent d481131c87
commit 9cfd8c9d4f

View File

@@ -38,12 +38,16 @@ BDEPEND="
# Skip problematic tests:
# - test_call_from_outside_venv doesn't play nicely with the sandbox
# - test_eco tests require Internet access
# - all test_eco and some test_prerun tests require Internet access
# - as of 5.4.0, test_cli_auto_detect fails even when run manually with tox
EPYTEST_DESELECT=(
test/TestUtils.py::test_cli_auto_detect
test/test_eco
test/test_eco.py
test/test_main.py::test_call_from_outside_venv
test/test_prerun.py::test_install_collection
test/test_prerun.py::test_prerun_reqs_v1
test/test_prerun.py::test_prerun_reqs_v2
test/test_prerun.py::test_require_collection_wrong_version
)
distutils_enable_tests pytest