Skip to content

Commit

Permalink
More test fixing to get merges to run
Browse files Browse the repository at this point in the history
  • Loading branch information
cjthomas730 committed Nov 3, 2023
1 parent 6dd6f38 commit 9e4897d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_cerulean_cloud/test_cloud_run_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,22 +459,22 @@ def test_func_merge_inferences_empty():
offset_tile_fc = dict(geojson.load(src))

merged = merge_inferences(
base_tile_fc=geojson.FeatureCollection(features=[]),
feature_collections=geojson.FeatureCollection(features=[]),
offset_tile_fc=offset_tile_fc,
)
assert merged["type"] == "FeatureCollection"
assert len(merged["features"]) == 0

merged = merge_inferences(
base_tile_fc=offset_tile_fc,
feature_collections=offset_tile_fc,
offset_tile_fc=geojson.FeatureCollection(features=[]),
)
assert merged["type"] == "FeatureCollection"
assert len(merged["features"]) == 0

merged = merge_inferences(
base_tile_fc=geojson.FeatureCollection(features=[]),
offset_tile_fc=geojson.FeatureCollection(features=[]),
feature_collections=geojson.FeatureCollection(features=[]),
feature_collections=geojson.FeatureCollection(features=[]),
)
assert merged["type"] == "FeatureCollection"
assert len(merged["features"]) == 0
Expand Down

0 comments on commit 9e4897d

Please sign in to comment.