Add missing percent-format character
skip_because(bug=[1,2,3]) decorator will display wrong message: Skipped until Bugs: %s are resolved.1, 2, 3 instead of: Skipped until Bugs: 1, 2, 3 are resolved. Closes-Bug: #1420843 Change-Id: I07785fe75d9fd16f933efee7d22b6990957465a0
This commit is contained in:
parent
8c819a87b6
commit
e0118d6d92
@ -128,7 +128,7 @@ def skip_because(**kwargs):
|
|||||||
for bug in bugs:
|
for bug in bugs:
|
||||||
if not bug.isdigit():
|
if not bug.isdigit():
|
||||||
raise ValueError("bug must be a valid bug number")
|
raise ValueError("bug must be a valid bug number")
|
||||||
obj = skip_method(obj, "Skipped until Bugs: %s are resolved."
|
obj = skip_method(obj, "Skipped until Bugs: %s are resolved." %
|
||||||
", ".join([bug for bug in bugs]))
|
", ".join([bug for bug in bugs]))
|
||||||
return obj
|
return obj
|
||||||
return actual_decoration
|
return actual_decoration
|
||||||
|
Loading…
Reference in New Issue
Block a user