Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanbasten-ns committed Sep 7, 2023
1 parent 42505b5 commit 1e86ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasource/test_datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
class TestNetcdfGroundwaterDataSource(unittest.TestCase):
def test_constructor(self):
"""Test empty constructor."""
ThreediResult()
ThreediResult("bla.nc", "bla.h5")

@mock.patch(
"threedi_results_analysis.datasource.threedi_results.ThreediResult.available_subgrid_map_vars",
["s1"],
)
@mock.patch("threedi_results_analysis.datasource.threedi_results.ThreediResult.result_admin")
def test_get_timeseries(self, result_admin_mock):
threedi_result = ThreediResult()
threedi_result = ThreediResult("bla.nc", "bla.h5")
threedi_result.get_timeseries("s1", 3)

def test_find_agg_fail(self):
Expand Down

0 comments on commit 1e86ecd

Please sign in to comment.