File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
1616def 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" ] } '
You can’t perform that action at this time.
0 commit comments