From da918db679b094948cf95670f0fa74a4528ee336 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Sun, 29 May 2016 01:12:54 +0800 Subject: swagger-ize result-apis of testAPI JIRA: FUNCTEST-270 Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de Signed-off-by: SerenaFeng --- result_collection_api/tests/unit/test_testcase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'result_collection_api/tests/unit/test_testcase.py') diff --git a/result_collection_api/tests/unit/test_testcase.py b/result_collection_api/tests/unit/test_testcase.py index c6c0608..2371472 100644 --- a/result_collection_api/tests/unit/test_testcase.py +++ b/result_collection_api/tests/unit/test_testcase.py @@ -85,13 +85,13 @@ class TestCaseCreate(TestCaseBase): req_empty = TestcaseCreateRequest('') (code, body) = self.create(req_empty, self.project) self.assertEqual(code, HTTP_BAD_REQUEST) - self.assertIn('testcase name missing', body) + self.assertIn('name missing', body) def test_noneName(self): req_none = TestcaseCreateRequest(None) (code, body) = self.create(req_none, self.project) self.assertEqual(code, HTTP_BAD_REQUEST) - self.assertIn('testcase name missing', body) + self.assertIn('name missing', body) def test_success(self): code, body = self.create_d() -- cgit 1.2.3-korg