From eea2f5c7903f0775cb34c45c9560a833e2d0ed92 Mon Sep 17 00:00:00 2001 From: zhufl Date: Mon, 23 Nov 2020 11:07:05 +0800 Subject: [PATCH] Fix invalid argument formatting in the exception message This is to fix invalid argument formatting in the exception message. Change-Id: I5b6046b4c54575a0a3cf5f3721bf5813bb1102ad --- tests/test_tenks_wait_for_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tenks_wait_for_resources.py b/tests/test_tenks_wait_for_resources.py index 049c60e..b9a8851 100644 --- a/tests/test_tenks_wait_for_resources.py +++ b/tests/test_tenks_wait_for_resources.py @@ -344,7 +344,7 @@ def create_run_cmd(providers, inventories, traits): elif "resource provider inventory list" in args[1]: return pop_output(inventories) else: - raise ValueError("{} not expected", args) + raise ValueError("{} not expected" % args) return dummy_run_command