diff options
author | xudan <xudan16@huawei.com> | 2019-05-14 08:28:56 -0400 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2019-06-12 01:33:40 +0000 |
commit | d1091a5e7c5f6b466d678fca0f47801d3e3f0e1a (patch) | |
tree | d216efaf5504ceda2c4b8edb563cf3ae7686c1c8 /dovetail/testcase.py | |
parent | fe1a78666f215a568866c4b5eb28c8feda0ad278 (diff) |
Add RESTful APIs into Dovetail container
JIRA: DOVETAIL-774
Change-Id: Ifb934eaeda52c1d316d80d9bb9c1890ffb71049c
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/testcase.py')
-rw-r--r-- | dovetail/testcase.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dovetail/testcase.py b/dovetail/testcase.py index 279c6ba0..deb00250 100644 --- a/dovetail/testcase.py +++ b/dovetail/testcase.py @@ -202,6 +202,7 @@ class Testcase(object): else: cls.logger.error('Failed to create test case: {}' .format(testcase_file)) + return cls.testcase_list @classmethod def get(cls, testcase_name): @@ -403,6 +404,7 @@ class Testsuite(object): with open(os.path.join(root, testsuite_yaml)) as f: testsuite_yaml = yaml.safe_load(f) cls.testsuite_list.update(testsuite_yaml) + return cls.testsuite_list @classmethod def get(cls, testsuite_name): |