Skip to content

Commit

Permalink
Fix compare fct in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Dec 3, 2024
1 parent 1549fb0 commit 646a27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/scripts_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 646a27f

Please sign in to comment.