From 646a27f644e185a29cb1b3e5d26ab98f12d47c30 Mon Sep 17 00:00:00 2001 From: BRAUN REMI Date: Tue, 3 Dec 2024 13:29:26 +0100 Subject: [PATCH] Fix compare fct in CI --- CI/scripts_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI/scripts_utils.py b/CI/scripts_utils.py index 634bf6b6..584d0862 100644 --- a/CI/scripts_utils.py +++ b/CI/scripts_utils.py @@ -163,6 +163,6 @@ def compare(to_be_checked, ref, topic): ref == to_be_checked ), f"Non equal {topic}: ref ={ref} != to_be_checked={to_be_checked}" except AssertionError: - assert to_be_checked.startswith("No") and to_be_checked.endswith( + assert str(to_be_checked).startswith("No") and str(to_be_checked).endswith( "available" ), f"Non equal {topic}: ref={ref} != to_be_checked={to_be_checked}"