diff --git a/climada/entity/measures/test/test_base.py b/climada/entity/measures/test/test_base.py index c692792fd..2a25ace36 100644 --- a/climada/entity/measures/test/test_base.py +++ b/climada/entity/measures/test/test_base.py @@ -33,8 +33,8 @@ from climada.entity.measures.measure_set import MeasureSet from climada.entity.measures.base import Measure, IMPF_ID_FACT from climada.util.constants import EXP_DEMO_H5, HAZ_DEMO_H5 +from climada.test import get_test_file import climada.util.coordinates as u_coord -import climada.hazard.test as hazard_test import climada.entity.exposures.test as exposures_test DATA_DIR = CONFIG.measures.test_data.dir() diff --git a/climada/hazard/test/test_trop_cyclone.py b/climada/hazard/test/test_trop_cyclone.py index defcc4da6..09b77e309 100644 --- a/climada/hazard/test/test_trop_cyclone.py +++ b/climada/hazard/test/test_trop_cyclone.py @@ -44,7 +44,7 @@ TEST_TRACK = DATA_DIR.joinpath("trac_brb_test.csv") TEST_TRACK_SHORT = DATA_DIR.joinpath("trac_short_test.csv") -CENTR_TEST_BRB = Centroids.from_hdf5(get_test_file(name='centr_test_brb', format='hdf5')) +CENTR_TEST_BRB = Centroids.from_hdf5(get_test_file('centr_test_brb', file_format='hdf5')) class TestReader(unittest.TestCase):