Skip to content

Commit

Permalink
add a test id to make the test work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Jan 9, 2025
1 parent d69cda6 commit 06a54fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/storage/integration/test_STA_mini.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,19 +252,21 @@ def test_sta_mini_study_antares(storage_service, url: str, expected_output: str)
},
True,
),
(
pytest.param(
f"/v1/studies/{UUID}/raw?path=input/misc-gen/miscgen-fr",
{
"columns": [0, 1, 2, 3, 4, 5, 6, 7],
"index": list(range(8760)),
"data": [[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]] * 8760,
},
True,
id="empty_matrix_formatted",
),
(
pytest.param(
f"/v1/studies/{UUID}/raw?path=input/misc-gen/miscgen-fr",
np.array([[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]] * 8760).tobytes(),
False,
id="empty_matrix_unformatted",
),
(
f"/v1/studies/{UUID}/raw?path=input/reserves/fr",
Expand Down

0 comments on commit 06a54fa

Please sign in to comment.