diff options
author | 2016-05-29 01:12:54 +0800 | |
---|---|---|
committer | 2016-05-29 01:24:21 +0800 | |
commit | da918db679b094948cf95670f0fa74a4528ee336 (patch) | |
tree | 95eb8fbea473454d0e4798364ab4b0119fce72f6 /result_collection_api/tests/unit/test_pod.py | |
parent | 3a03a7efbdaf54fa5789c8d08119c7ac5b8f0a08 (diff) |
swagger-ize result-apis of testAPI
JIRA: FUNCTEST-270
Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api/tests/unit/test_pod.py')
-rw-r--r-- | result_collection_api/tests/unit/test_pod.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/result_collection_api/tests/unit/test_pod.py b/result_collection_api/tests/unit/test_pod.py index 8a93027..1a43c05 100644 --- a/result_collection_api/tests/unit/test_pod.py +++ b/result_collection_api/tests/unit/test_pod.py @@ -36,13 +36,13 @@ class TestPodCreate(TestPodBase): req_empty = PodCreateRequest('') (code, body) = self.create(req_empty) self.assertEqual(code, HTTP_BAD_REQUEST) - self.assertIn('pod name missing', body) + self.assertIn('name missing', body) def test_noneName(self): req_none = PodCreateRequest(None) (code, body) = self.create(req_none) self.assertEqual(code, HTTP_BAD_REQUEST) - self.assertIn('pod name missing', body) + self.assertIn('name missing', body) def test_success(self): code, body = self.create_d() |