remove unittest test_createSameResults in testAPI 59/15059/2
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 2 Jun 2016 06:32:39 +0000 (14:32 +0800)
committerSerena Feng <feng.xiaowei@zte.com.cn>
Thu, 2 Jun 2016 07:06:07 +0000 (07:06 +0000)
remove unittest test_createSameResults in test_results.py

JIRA: FUNCTEST-288

Change-Id: I5c1e8eb6c09a5ced1a6cdd380e9c37961136e6d2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/result_collection_api/opnfv_testapi/tests/unit/test_result.py

index 23a745f..50a0b96 100644 (file)
@@ -156,15 +156,6 @@ class TestResultCreate(TestResultBase):
         self.assertEqual(code, HTTP_OK)
         self.assert_href(body)
 
-    def test_createSameResults(self):
-        req_again = copy.deepcopy(self.req_d)
-        req_again.start_date = "2016-05-23 08:16:09.477097"
-        req_again.stop_date = "2016-05-23 08:16:19.477097"
-
-        (code, body) = self.create(req_again)
-        self.assertEqual(code, HTTP_OK)
-        self.assert_href(body)
-
 
 class TestResultGet(TestResultBase):
     def test_getOne(self):