From 9e484aeb6d281c4df2f34e842169039b3af374e1 Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Thu, 24 Oct 2024 16:06:20 +0200 Subject: [PATCH] use consistent test collection name structure --- tests/test_arrow.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_arrow.py b/tests/test_arrow.py index c1080bf..edfed4b 100644 --- a/tests/test_arrow.py +++ b/tests/test_arrow.py @@ -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) @@ -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()