def test_cities_to_shape(self): """Test that we can retrieve the cities local to the event.""" 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.cities_to_shapefile() self.assertTrue(os.path.exists(file_path))
def test_cities_to_shape(self): """Test that we can retrieve the cities local to the event.""" 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.cities_to_shapefile() self.assertTrue(os.path.exists(file_path))
def test_cities_to_shape(self): """Test that we can retrieve the cities local to the event.""" shake_event = ShakeEvent(SHAKE_ID, data_is_local_flag=True) file_path = shake_event.cities_to_shapefile() self.assertTrue(os.path.exists(file_path))
def test_cities_to_shape(self): """Test that we can retrieve the cities local to the event.""" shake_id = '20120726022003' shake_event = ShakeEvent(shake_id) file_path = shake_event.cities_to_shapefile() assert os.path.exists(file_path)
def test_cities_to_shape(self): """Test that we can retrieve the cities local to the event.""" shake_event = ShakeEvent(SHAKE_ID, data_is_local_flag=True) file_path = shake_event.cities_to_shapefile() self.assertTrue(os.path.exists(file_path))