From e4b44952b06c1072fa056f8b5124b7a6bcbc6f4f Mon Sep 17 00:00:00 2001 From: Eduardo Olivares Date: Wed, 6 Mar 2024 12:15:30 +0100 Subject: [PATCH] Fix tobiko.fail called from assert_equal_containers_state Two strings were wrongly passed to tobiko.fail. Change-Id: I65c97c94c67b40ae39185b04095df2def9702d7f --- tobiko/tripleo/containers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tobiko/tripleo/containers.py b/tobiko/tripleo/containers.py index 1d81e958e..29eb5e41a 100644 --- a/tobiko/tripleo/containers.py +++ b/tobiko/tripleo/containers.py @@ -573,5 +573,6 @@ def assert_equal_containers_state(expected_containers_list=None, " OK, all containers are on the same state") return if failures: - tobiko.fail('container states mismatched:\n{!s}', '\n'.join( - failures)) + tobiko.fail( + 'container states mismatched:\n{!s}'.format('\n'.join(failures)), + rhosp_containers.ContainerMismatchException)