Skip to content

Commit 4ff4741

Browse files
committed
updated 3dep tests to reflect updated 3dep catalog
1 parent 2d81d6f commit 4ff4741

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

applications/ams/tests/test_usgs3dep.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_3dep_time_range(client):
1111
response = client.post('/ams/3dep', json={"t0":"2018-10-14", "t1":"2018-10-15"})
1212
data = json.loads(response.data.decode("utf-8"))
1313
assert data["hits"] == 23
14-
assert data["features"][0]["id"] == "USGS_one_meter_x46y440_UT_Sanpete_2018"
14+
assert data["features"][0]["id"] == "USGS_one_meter_x46y441_UT_Sanpete_2018", f'{data["features"][0]["id"]}'
1515

1616
def test_dep_poly(client):
1717
poly = [
@@ -23,5 +23,5 @@ def test_dep_poly(client):
2323
]
2424
response = client.post(f'/ams/3dep', json={"poly":poly})
2525
data = json.loads(response.data.decode("utf-8"))
26-
assert data["hits"] == 11
27-
assert data["features"][0]["id"] == "USGS_one_meter_x25y434_CO_MesaCo_QL1_2016"
26+
assert data["hits"] == 27
27+
assert data["features"][0]["id"] == "USGS_one_meter_x23y432_CO_MesaCo_QL2_UTM12_2016", f'{data["features"][0]["id"]}'

0 commit comments

Comments
 (0)