From b2e3b95db39dc4d557f1776bcaba62ee310a8698 Mon Sep 17 00:00:00 2001 From: Carl George Date: Thu, 29 Aug 2024 23:10:15 -0500 Subject: [PATCH] tests: mark more network tests The tests test_build and test_verbose_output both fail when run without a network connection, so mark them appropriately. --- tests/test_integration.py | 1 + tests/test_main.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/test_integration.py b/tests/test_integration.py index 341c1d49..99dae5c8 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -67,6 +67,7 @@ def _ignore_folder(base, filenames): return dest / f'{name}-{version}' +@pytest.mark.network @pytest.mark.parametrize( 'call', [ diff --git a/tests/test_main.py b/tests/test_main.py index c06bc348..e3032105 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -439,6 +439,7 @@ def raise_called_process_err(*args, **kwargs): ) +@pytest.mark.network @pytest.mark.parametrize('verbosity', [0, 1]) def test_verbose_output( capsys: pytest.CaptureFixture,