Fix tobiko.fail called from assert_equal_containers_state

Two strings were wrongly passed to tobiko.fail.

Change-Id: I65c97c94c67b40ae39185b04095df2def9702d7f
This commit is contained in:
Eduardo Olivares 2024-03-06 12:15:30 +01:00
parent a94ca054cf
commit 1814689e0c

View File

@ -693,5 +693,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)),
ContainerMismatchException)