diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-01-12 07:50:30 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-01-20 01:58:50 +0000 |
commit | 75f55c05789beb4fbe2391d33349058bba4ea5c0 (patch) | |
tree | 7372165d15f83de442fa2a5778ee540ae2ced7c0 /yardstick/common/constants.py | |
parent | 8f4cc883d89e997320d68c653a12d59f8fba308b (diff) |
Create API to get a list of all test cases
JIRA: YARDSTICK-456
Currently we do not have a API to get a list of all test cases;
Currently the test case info is from the comment;
So I create a API to get a list of all test cases;
And create a 'description' attribute to record info of a test case;
And use the CLI call this API;
Change-Id: Ife800600446683664097835c7b9f11899c85771d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'yardstick/common/constants.py')
-rw-r--r-- | yardstick/common/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/common/constants.py b/yardstick/common/constants.py index ffca4b3e9..bf616a1f6 100644 --- a/yardstick/common/constants.py +++ b/yardstick/common/constants.py @@ -31,6 +31,8 @@ INSTALLERS = ['apex', 'compass', 'fuel', 'joid'] YARDSTICK_ROOT_PATH = dirname(dirname(dirname(abspath(__file__)))) + sep +TESTCASE_DIR = join(YARDSTICK_ROOT_PATH, 'tests/opnfv/test_cases/') + YARDSTICK_REPOS_DIR = '/home/opnfv/repos/yardstick' YARDSTICK_CONFIG_DIR = '/etc/yardstick/' |