Skip to content

Commit

Permalink
Fix bug in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
peanutfun committed Mar 2, 2023
1 parent 37072a7 commit 85650dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions climada/util/test/test_lines_polys_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ def test_point_exposure_from_polygons_reproject_call(
_interp_one_poly_m.assert_called()
_interp_one_poly.assert_not_called()

# Reset mocks
_interp_one_poly.reset_mock()
_interp_one_poly_m.reset_mock()

# Use projected CRS
EXP_POLY_PROJ = Exposures(GDF_POLY.to_crs(epsg=28992))
u_lp.exp_geom_to_pnt(
Expand Down

0 comments on commit 85650dc

Please sign in to comment.