From 3a03a7efbdaf54fa5789c8d08119c7ac5b8f0a08 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 27 May 2016 16:55:17 +0800 Subject: swagger-ize testcase-apis of testAPI Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace JIRA: FUNCTEST-266 Signed-off-by: SerenaFeng --- result_collection_api/tests/unit/test_result.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'result_collection_api/tests/unit/test_result.py') 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) -- cgit 1.2.3-korg