Skip to content

Commit

Permalink
TST: add no_kv to sync tests (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Sep 7, 2022
1 parent b75ad49 commit fedb186
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions test/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ def test_get_transform_grid_list__bbox__antimeridian():
source_ids = set()
for grid in grids:
source_ids.add(grid["properties"]["source_id"])
assert sorted(source_ids) == ["au_ga", "nc_dittt", "nz_linz", "us_nga", "us_noaa"]
assert sorted(source_ids) == [
"au_ga",
"nc_dittt",
"no_kv",
"nz_linz",
"us_nga",
"us_noaa",
]


@pytest.mark.network
Expand All @@ -40,7 +47,14 @@ def test_get_transform_grid_list__bbox__out_of_bounds():
source_ids = set()
for grid in grids:
source_ids.add(grid["properties"]["source_id"])
assert sorted(source_ids) == ["au_ga", "nc_dittt", "nz_linz", "us_nga", "us_noaa"]
assert sorted(source_ids) == [
"au_ga",
"nc_dittt",
"no_kv",
"nz_linz",
"us_nga",
"us_noaa",
]


@pytest.mark.network
Expand Down Expand Up @@ -68,7 +82,7 @@ def test_get_transform_grid_list__contains():
source_ids = set()
for grid in grids:
source_ids.add(grid["properties"]["source_id"])
assert sorted(source_ids) == ["nz_linz"]
assert sorted(source_ids) == ["no_kv", "nz_linz"]


@pytest.mark.network
Expand Down

0 comments on commit fedb186

Please sign in to comment.