Skip to content

Commit 6c1ba5e

Browse files
committed
fix(tests): skip PC test without azure extra, mark AEF test as network
Signed-off-by: print-sid8 sidsub94@gmail.com
1 parent e05b793 commit 6c1ba5e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/rasteret/tests/test_compat_matrix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def test_matrix_planetary_computer_presigned_https_does_not_require_backend(
164164
tmp_path: Path, monkeypatch: pytest.MonkeyPatch
165165
) -> None:
166166
"""Planetary Computer: SAS-signed HTTPS hrefs should work without backend."""
167+
pytest.importorskip("planetary_computer")
167168
import rasteret
168169

169170
captured = _stub_header_parser(monkeypatch)

src/rasteret/tests/test_public_network_smoke.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
from pathlib import Path
1919

20+
import pytest
21+
2022
import rasteret
2123

2224

@@ -136,6 +138,7 @@ async def _read():
136138
)
137139

138140

141+
@pytest.mark.network
139142
def test_aef_build_enrich_and_read_matches_rasterio(tmp_path: Path) -> None:
140143
import asyncio
141144

0 commit comments

Comments
 (0)