@@ -203,7 +203,6 @@ def test_init_no_visualization(self):
203203 config_dict = get_config_dict0 ()
204204 with self .assertLogs ("xcube.multistore" , level = "INFO" ) as cm :
205205 msds = MultiSourceDataStore (config_dict )
206- print (cm .output )
207206 self .assertIsInstance (msds , MultiSourceDataStore )
208207 self .assertEqual (4 , len (cm .output ))
209208 msg = "INFO:xcube.multistore:Dataset 'dataset1' finished."
@@ -373,7 +372,6 @@ def test_init_error_write_dataset(self):
373372 config_dict = get_config_dict8 ()
374373 with self .assertLogs ("xcube.multistore" , level = "INFO" ) as cm :
375374 msds = MultiSourceDataStore (config_dict )
376- print (cm .output )
377375 self .assertIsInstance (msds , MultiSourceDataStore )
378376 self .assertEqual (4 , len (cm .output ))
379377 msg = (
@@ -386,8 +384,7 @@ def test_resample_params_process_dataset(self):
386384 config_dict = get_config_dict9 ()
387385 with self .assertLogs ("xcube.multistore" , level = "INFO" ) as cm :
388386 msds = MultiSourceDataStore (config_dict )
389- print (cm .output )
390- # self.assertEqual(4, len(cm.output))
387+ self .assertEqual (4 , len (cm .output ))
391388 self .assertIsInstance (msds , MultiSourceDataStore )
392389 config_ds = msds .config .datasets
393390 self .assertEqual ({'agg_methods' : 'max' },
@@ -398,7 +395,5 @@ def test_resample_params_process_dataset(self):
398395 {"tile_size" : [400 , 400 ]},
399396 config_ds ["dataset_final" ]["variables" ][1 ]["resample_params" ],
400397 )
401- # print(msds.stores.storage.list_data_ids())
402- # ds = msds.stores.storage.open_data("dataset_final.zarr")
403- # print(ds)
404- # self.assertIsInstance(ds, xr.Dataset)
398+ ds = msds .stores .storage .open_data ("dataset_final.zarr" )
399+ self .assertIsInstance (ds , xr .Dataset )
0 commit comments