commit cb6faed69af4b89965266e14db5fd7cb653d4d81
parent 1f4d73ab73f851fe15211ced4b560c21f094eeb1
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 22 Apr 2021 10:37:44 -0700
auto-t: properly print wait_for_object_change exception
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
@@ -1064,7 +1064,8 @@ class IWD(AsyncOpAbstract):
# If neither the initial or expected condition evaluate the
# object must be in another unexpected state.
if not eval(from_str) and not eval(to_str):
- raise Exception('unexpected condition between [%s] and [%s]' % from_str, to_str)
+ raise Exception('unexpected condition between [%s] and [%s]' %
+ (from_str, to_str))
# Initial condition does not evaluate but expected does, pass
if not eval(from_str) and eval(to_str):