From 06a54faa5d79e2525b01c4d7d26184d5cd46c2b1 Mon Sep 17 00:00:00 2001 From: belthlemar Date: Thu, 9 Jan 2025 10:07:14 +0100 Subject: [PATCH] add a test id to make the test work on windows --- tests/storage/integration/test_STA_mini.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/storage/integration/test_STA_mini.py b/tests/storage/integration/test_STA_mini.py index 8cdd187f65..a7b36555e8 100644 --- a/tests/storage/integration/test_STA_mini.py +++ b/tests/storage/integration/test_STA_mini.py @@ -252,7 +252,7 @@ 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], @@ -260,11 +260,13 @@ def test_sta_mini_study_antares(storage_service, url: str, expected_output: str) "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",