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}"