Skip to content

Commit

Permalink
Removed find_h5_file
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanbasten-ns committed Sep 7, 2023
1 parent 3cab757 commit 42505b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions datasource/test_datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from threedigrid.admin.constants import NO_DATA_VALUE
from threedi_results_analysis.datasource import base
from threedi_results_analysis.datasource.threedi_results import find_aggregation_netcdf
from threedi_results_analysis.datasource.threedi_results import find_h5_file
from threedi_results_analysis.datasource.threedi_results import normalized_object_type
from threedi_results_analysis.datasource.threedi_results import ThreediResult
from threedi_results_analysis.tests.utilities import TemporaryDirectory
Expand Down Expand Up @@ -362,8 +361,3 @@ def test_normalized_object_type2():
def test_aggregate_result_admin_file_missing(threedi_result):
threedi_result.file_path = "reinout.txt"
assert threedi_result.aggregate_result_admin is None


def test_find_h5_file_not_found():
with pytest.raises(FileNotFoundError):
find_h5_file("/does/not/exist/")

0 comments on commit 42505b5

Please sign in to comment.