File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44These tests hit the USGS OSN public endpoint and require network access.
55
6- To run these tests, set the environment variable :
7- RUN_REAL_WORLD_TESTS=1 uv run --all-groups pytest tests/test_real_world .py -v
6+ To run these tests:
7+ uv run --all-groups pytest tests/test_glob_osn .py -v --network
88"""
99
1010from __future__ import annotations
1111
12- import os
13-
1412import pytest
1513import s3fs
1614
1715from obspec_utils import glob
1816from obstore .store import S3Store
1917
2018
21- # Skip all tests in this module unless RUN_REAL_WORLD_TESTS is set
22- pytestmark = pytest .mark .skipif (
23- not os .environ .get ("RUN_REAL_WORLD_TESTS" ),
24- reason = "Set RUN_REAL_WORLD_TESTS=1 to run real-world S3 tests" ,
25- )
19+ # Skip all tests in this module unless --network is passed
20+ pytestmark = pytest .mark .network
2621
2722
2823STORAGE_ENDPOINT = "https://usgs.osn.mghpcc.org"
You can’t perform that action at this time.
0 commit comments