Fix typo in Benchmark cli info success number
This commit is contained in:
parent
6c1abf4004
commit
051e404a80
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class ActionsPlugin:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
num_failed = len([res_key for res_key, res_val in res.items() if res_val != "ok"])
|
num_failed = len([res_key for res_key, res_val in res.items() if res_val != "ok"])
|
||||||
num_success = len([res_key for res_key, res_val in res.items() if res_val != "ok"])
|
num_success = len([res_key for res_key, res_val in res.items() if res_val == "ok"])
|
||||||
yield "* Result:\n"
|
yield "* Result:\n"
|
||||||
yield " - Total: %s tests\n" % len(res)
|
yield " - Total: %s tests\n" % len(res)
|
||||||
yield " - Success: %s tests\n" % num_success
|
yield " - Success: %s tests\n" % num_success
|
||||||
|
|
Loading…
Reference in a new issue