def test_cities_search_boxes_to_shape(self): """Test that we can retrieve the search boxes used to find cities.""" working_dir = shakemap_extract_dir() shake_event = ShakeEvent(working_dir=working_dir, event_id=SHAKE_ID, data_is_local_flag=True) file_path = shake_event.city_search_boxes_to_shapefile() self.assertTrue(os.path.exists(file_path))
def test_cities_search_boxes_to_shape(self): """Test that we can retrieve the search boxes used to find cities.""" working_dir = shakemap_extract_dir() shake_event = ShakeEvent( working_dir=working_dir, event_id=SHAKE_ID, data_is_local_flag=True) file_path = shake_event.city_search_boxes_to_shapefile() self.assertTrue(os.path.exists(file_path))
def test_cities_search_boxes_to_shape(self): """Test that we can retrieve the search boxes used to find cities.""" shake_event = ShakeEvent(SHAKE_ID, data_is_local_flag=True) file_path = shake_event.city_search_boxes_to_shapefile() self.assertTrue(os.path.exists(file_path))
def test_cities_search_boxes_to_shape(self): """Test that we can retrieve the search boxes used to find cities.""" shake_id = '20120726022003' shake_event = ShakeEvent(shake_id) file_path = shake_event.city_search_boxes_to_shapefile() assert os.path.exists(file_path)
def test_cities_search_boxes_to_shape(self): """Test that we can retrieve the search boxes used to find cities.""" shake_event = ShakeEvent(SHAKE_ID, data_is_local_flag=True) file_path = shake_event.city_search_boxes_to_shapefile() self.assertTrue(os.path.exists(file_path))