Merge "Fix tobiko.fail called from assert_equal_containers_state"

This commit is contained in:
Zuul 2024-03-06 18:22:22 +00:00 committed by Gerrit Code Review
commit 14f1297c60
1 changed files with 3 additions and 2 deletions

View File

@ -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)