Skip to content

Commit

Permalink
Move the init of expected_time_serie
Browse files Browse the repository at this point in the history
  • Loading branch information
killian-scalian committed Dec 2, 2024
1 parent b9f3099 commit 57d2255
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/antares/services/local_services/test_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,14 +1156,15 @@ def test_read_renewable_local(self, local_study_with_renewable):
local_study_object = read_study_local(study_path)
areas = local_study_object.read_areas()

expected_time_serie = pd.DataFrame(


for area in areas:
expected_time_serie = pd.DataFrame(
[
[-9999999980506447872, 0, 9999999980506447872],
[0, area.id, 0],
]
, dtype="object")

for area in areas:
renewable_list = area.read_renewables(area.id)

if renewable_list:
Expand Down

0 comments on commit 57d2255

Please sign in to comment.