diff options
author | Zuul <zuul@review.opendev.org> | 2020-11-29 02:14:43 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-11-29 02:14:43 +0000 |
commit | ae5285d5d8468b491e4ae3120101453c1f96b930 (patch) | |
tree | 734102672e86e1be8b26389a79caa087f4202d56 /tempest/common/waiters.py | |
parent | c02c2846ed4b32fabbf41f50a68f07a9371bc107 (diff) | |
parent | 414ffbacb7773915f2a5f6dfe127ded15d375f55 (diff) | |
download | tempest-ae5285d5d8468b491e4ae3120101453c1f96b930.tar.gz |
Merge "Fix "TypeError: format requires a mapping" in waiters"
Diffstat (limited to 'tempest/common/waiters.py')
-rw-r--r-- | tempest/common/waiters.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tempest/common/waiters.py b/tempest/common/waiters.py index 17796dfc5..625e08ef9 100644 --- a/tempest/common/waiters.py +++ b/tempest/common/waiters.py @@ -207,8 +207,8 @@ def wait_for_image_imported_to_stores(client, image_id, stores): time.sleep(client.build_interval) - message = ('Image %(image_id)s failed to import ' - 'on stores: %s' % str(image['os_glance_failed_import'])) + message = ('Image %s failed to import on stores: %s' % + (image_id, str(image['os_glance_failed_import']))) caller = test_utils.find_test_caller() if caller: message = '(%s) %s' % (caller, message) @@ -238,8 +238,8 @@ def wait_for_image_copied_to_stores(client, image_id): time.sleep(client.build_interval) - message = ('Image %(image_id)s failed to finish the copy operation ' - 'on stores: %s' % str(store_left)) + message = ('Image %s failed to finish the copy operation ' + 'on stores: %s' % (image_id, str(store_left))) caller = test_utils.find_test_caller() if caller: message = '(%s) %s' % (caller, message) |