summaryrefslogtreecommitdiffstats
path: root/dovetail/testcase.py
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-05-14 08:28:56 -0400
committerDan Xu <xudan16@huawei.com>2019-06-12 01:33:40 +0000
commitd1091a5e7c5f6b466d678fca0f47801d3e3f0e1a (patch)
treed216efaf5504ceda2c4b8edb563cf3ae7686c1c8 /dovetail/testcase.py
parentfe1a78666f215a568866c4b5eb28c8feda0ad278 (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.py2
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):