diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-05-27 16:55:17 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-05-27 16:58:48 +0800 |
commit | 3a03a7efbdaf54fa5789c8d08119c7ac5b8f0a08 (patch) | |
tree | 166aa5961b3e8fadff571a74cb252a624ecd3a5d /result_collection_api/tests/unit/test_result.py | |
parent | 07b1553b8f00933d7d0f057ac1558a4f7d80245e (diff) |
swagger-ize testcase-apis of testAPI
Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace
JIRA: FUNCTEST-266
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api/tests/unit/test_result.py')
-rw-r--r-- | result_collection_api/tests/unit/test_result.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/result_collection_api/tests/unit/test_result.py b/result_collection_api/tests/unit/test_result.py index 9c5093e..7dd07ef 100644 --- a/result_collection_api/tests/unit/test_result.py +++ b/result_collection_api/tests/unit/test_result.py @@ -70,8 +70,8 @@ class TestResultBase(TestBase): self.basePath = '/api/v1/results' self.req_pod = PodCreateRequest(self.pod, 'metal', 'zte pod 1') self.req_project = ProjectCreateRequest(self.project, 'vping test') - self.req_testcase = TestcaseCreateRequest('/cases/vping', - self.case, + self.req_testcase = TestcaseCreateRequest(self.case, + '/cases/vping', 'vping-ssh test') self.create_help('/api/v1/pods', self.req_pod) self.create_help('/api/v1/projects', self.req_project) |