Skip to content

Commit

Permalink
tests: mark more network tests
Browse files Browse the repository at this point in the history
The tests test_build and test_verbose_output both fail when run without
a network connection, so mark them appropriately.
  • Loading branch information
carlwgeorge committed Aug 30, 2024
1 parent 562907e commit dab1d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def _ignore_folder(base, filenames):
return dest / f'{name}-{version}'


@pytest.mark.network
@pytest.mark.parametrize(
'call',
[
Expand Down
1 change: 1 addition & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ def raise_called_process_err(*args, **kwargs):
)


@pytest.mark.network
@pytest.mark.parametrize('verbosity', [0, 1])
def test_verbose_output(
capsys: pytest.CaptureFixture,
Expand Down

0 comments on commit dab1d5d

Please sign in to comment.