Skip to content

Commit

Permalink
Updated with correct paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigurd-Borge committed Dec 11, 2024
1 parent 94247ce commit 7401021
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/integration/test_local_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
from antares.model.study import Study
from antares.model.thermal import ThermalCluster, ThermalClusterGroup, ThermalClusterProperties
from antares.tools.ini_tool import IniFile, IniFileTypes
from antares.tools.time_series_tool import TimeSeriesFileType


class TestLocalClient:
Expand Down Expand Up @@ -83,7 +82,7 @@ def test_local_study(self, tmp_path, unknown_area):
fr.create_load(time_series)

assert test_study.service.config.study_path.joinpath(
TimeSeriesFileType.LOAD.value.format(area_id=fr.id)
"input", "load", "series", "load_{area_id}.txt".format(area_id=fr.id)
).is_file()

fr_load = fr.get_load_matrix()
Expand All @@ -94,7 +93,7 @@ def test_local_study(self, tmp_path, unknown_area):
fr.create_solar(time_series)

assert test_study.service.config.study_path.joinpath(
TimeSeriesFileType.SOLAR.value.format(area_id=fr.id)
"input", "solar", "series", "solar_{area_id}.txt".format(area_id=fr.id)
).is_file()

fr_solar = fr.get_solar_matrix()
Expand All @@ -105,7 +104,7 @@ def test_local_study(self, tmp_path, unknown_area):
fr.create_wind(time_series)

assert test_study.service.config.study_path.joinpath(
TimeSeriesFileType.WIND.value.format(area_id=fr.id)
"input", "wind", "series", "wind_{area_id}.txt".format(area_id=fr.id)
).is_file()

fr_wind = fr.get_wind_matrix()
Expand Down

0 comments on commit 7401021

Please sign in to comment.