File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def test_get_hazard(self):
139139 properties = {'country_name' : 'Austria' ,
140140 'year_range' : '2010_2030' , 'climate_scenario' : 'rcp26' },
141141 dump_dir = DATA_DIR )
142- self .assertEqual (np .shape (hazard .intensity ), (480 , 5786 ))
142+ self .assertEqual (np .shape (hazard .intensity ), (1440 , 5784 ))
143143 self .assertEqual (np .unique (hazard .centroids .region_id ), 40 )
144144 self .assertEqual (np .unique (hazard .date ).size , 20 )
145145 self .assertEqual (hazard .tag .haz_type , 'RF' )
@@ -148,7 +148,7 @@ def test_get_hazard_fails(self):
148148 client = Client ()
149149 with self .assertRaises (ValueError ) as cm :
150150 client .get_hazard (hazard_type = 'litpop' ,
151- properties = {'country_name' : [ 'Switzerland' , ' Austria'] ,
151+ properties = {'country_name' : ' Austria' ,
152152 'year_range' : '2010_2030' , 'climate_scenario' : 'rcp26' },
153153 dump_dir = DATA_DIR )
154154 self .assertIn ('Valid hazard types are a subset of CLIMADA hazard types. Currently' ,
You can’t perform that action at this time.
0 commit comments