Skip to content

Commit

Permalink
use consistent test collection name structure
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Oct 24, 2024
1 parent 38d4339 commit 9e484ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_arrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_round_trip_write_read_ndjson(


def test_table_contains_geoarrow_metadata():
collection_id = "naip"
collection_id = "naip-pc"
with open(HERE / "data" / f"{collection_id}.json") as f:
items = json.load(f)

Expand Down Expand Up @@ -125,7 +125,8 @@ def test_to_parquet_two_geometry_columns():
When writing STAC Items that have a proj:geometry field, there should be two
geometry columns listed in the GeoParquet metadata.
"""
with open(HERE / "data" / "3dep-lidar-copc-pc.json") as f:
collection_id = "3dep-lidar-copc-pc"
with open(HERE / "data" / f"{collection_id}.json") as f:
items = json.load(f)

table = parse_stac_items_to_arrow(items).read_all()
Expand Down

0 comments on commit 9e484ae

Please sign in to comment.