From 39d8e9d79768010898b9caf4348d098d7d4d16ff Mon Sep 17 00:00:00 2001 From: kaczmarj Date: Thu, 22 Feb 2024 14:17:08 -0500 Subject: [PATCH] use geojson ext for purple.json --- tests/test_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_all.py b/tests/test_all.py index a6c47d0..b4d2b70 100644 --- a/tests/test_all.py +++ b/tests/test_all.py @@ -145,7 +145,7 @@ def test_cli_run_with_registered_models( geojson_dir = results_dir / "model-outputs-geojson" # result = runner.invoke(cli, ["togeojson", str(results_dir), str(geojson_dir)]) assert result.exit_code == 0 - with open(geojson_dir / "purple.json") as f: + with open(geojson_dir / "purple.geojson") as f: d: geojsonlib.GeoJSON = geojsonlib.load(f) assert d.is_valid, "geojson not valid!" assert len(d["features"]) == len(df_ref)