Feature/move tests to integration by NicolasColombi · Pull Request #709 · CLIMADA-project/climada_python

added 4 commits

April 26, 2023 15:51
Move test: test_calc_geom_impact_polys situated in:
climada/util/test/test_lines_polys_handler.py:289

to: climada/test/test_util.py

the test takes around 16 seconds
Tests moved:

1) climada/hazard/test/test_storm_europe/test_icon_read (~ 4.5 sec)
2 ) climada/hazard/test/test_storm_europe/test_from_footprints (~ 6 sec)

Destination:

1) climada/test/test_hazard/test_icon_read
2) climada/test/test_hazard/test_from_footprints
Move test:

1) climada/hazard/test/test_ibtracks_with_basin (~6 sec)
2) climada/hazard/test/test_cutoff_tracks (~5 sec)

Destination:

1) climada/test/test_hazard/test_ibtracks_with_basin
2)climada/test/test_hazard/test_cutoff_tracks

@NicolasColombi

Move tests:

1) climada/hazard/test/test_base/test_write_read_pass  (4.5 sec)
2)climada/hazard/test/test_base/test_raster_to_vector_pass (3.5 sec)
3)climada/hazard/test/test_base/test_reproject_raster_pass (3.6 sec)

Destination:

1) climada/test/test_hazard/test_write_read_pass
2) climada/test/test_hazard/test_raster_to_vector_pass
3) climada/test/test_hazard/test_reproject_raster_pass

@NicolasColombi

Also remove unused imports.

@peanutfun

@peanutfun

peanutfun

@peanutfun

@peanutfun