From b66098e1f12df2bc11f0870ea8bc80a4492bc84e Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 7 Aug 2025 15:15:45 +0200 Subject: [PATCH] Update tests/test_utils_pv.py --- tests/test_utils_pv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils_pv.py b/tests/test_utils_pv.py index a5aa48bda..e575cc9aa 100644 --- a/tests/test_utils_pv.py +++ b/tests/test_utils_pv.py @@ -96,8 +96,8 @@ def test_put_with_progress_and_repr(value_new, value_before, expected_color): color_matches = [line for line in printed_lines if expected_color in line] assert color_matches, "Expected color code not found" - assert all(value_new in line for line in printed_lines), "new value not in all lines" - assert all(value_before in line for line in printed_lines), "old value not in all lines" + assert all(f"{value_new}" in line for line in printed_lines), "new value not in all lines" + assert all(f"{value_before}" in line for line in printed_lines), "old value not in all lines" # Vérifie que la valeur finale est correcte