Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "replace yaml.load with yaml.safe_load"
[yardstick.git]
/
yardstick
/
benchmark
/
core
/
runner.py
diff --git
a/yardstick/benchmark/core/runner.py
b/yardstick/benchmark/core/runner.py
index
5f8132d
..
64acdaa
100644
(file)
--- a/
yardstick/benchmark/core/runner.py
+++ b/
yardstick/benchmark/core/runner.py
@@
-15,14
+15,14
@@
from yardstick.benchmark.runners.base import Runner
from yardstick.benchmark.core import print_hbar
from yardstick.benchmark.core import print_hbar
-class Runners(object):
-
'''
Runner commands.
+class Runners(object):
# pragma: no cover
+
"""
Runner commands.
Set of commands to discover and display runner types.
Set of commands to discover and display runner types.
- '''
+ """
def list_all(self, args):
def list_all(self, args):
- '''List existing runner types'''
+ """List existing runner types"""
types = Runner.get_types()
print_hbar(78)
print("| %-16s | %-60s" % ("Type", "Description"))
types = Runner.get_types()
print_hbar(78)
print("| %-16s | %-60s" % ("Type", "Description"))
@@
-33,6
+33,6
@@
class Runners(object):
print_hbar(78)
def show(self, args):
print_hbar(78)
def show(self, args):
- '''Show details of a specific runner type'''
+ """Show details of a specific runner type"""
rtype = Runner.get_cls(args.type[0])
print(rtype.__doc__)
rtype = Runner.get_cls(args.type[0])
print(rtype.__doc__)