summaryrefslogtreecommitdiffstats
path: root/yardstick/cmd/cli.py
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2016-03-26 16:55:00 +0800
committerkubi <jean.gaoliang@huawei.com>2016-03-26 17:00:18 +0800
commitcfde1fac2c062ca45d2816e6830b611abd8a61d0 (patch)
treeb79c1ce87177d0b3d5c363f4051560a225d1a714 /yardstick/cmd/cli.py
parente587b562bb2094a0e08bbdb25cff408e667ebe71 (diff)
add "yardstick testcase list" command function
"yardstick testcase list" will list test cases info(Name, Description) in tests/OPNFV/test_cases/ Change-Id: Icf2e6a803d90d33012f009519e47e750bfd57489 JIRA:- Signed-off-by: kubi <jean.gaoliang@huawei.com>
Diffstat (limited to 'yardstick/cmd/cli.py')
-rw-r--r--yardstick/cmd/cli.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yardstick/cmd/cli.py b/yardstick/cmd/cli.py
index 8d75d7d5e..a7ba04f57 100644
--- a/yardstick/cmd/cli.py
+++ b/yardstick/cmd/cli.py
@@ -22,6 +22,7 @@ from oslo_config import cfg
from yardstick.cmd.commands import task
from yardstick.cmd.commands import runner
from yardstick.cmd.commands import scenario
+from yardstick.cmd.commands import testcase
CONF = cfg.CONF
cli_opts = [
@@ -58,7 +59,8 @@ class YardstickCLI():
categories = {
'task': task.TaskCommands,
'runner': runner.RunnerCommands,
- 'scenario': scenario.ScenarioCommands
+ 'scenario': scenario.ScenarioCommands,
+ 'testcase': testcase.TestcaseCommands
}
def __init__(self):