delete 'description' of 'Result' in testAPI 85/16185/2
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 30 Jun 2016 15:17:07 +0000 (23:17 +0800)
committerSerena Feng <feng.xiaowei@zte.com.cn>
Thu, 30 Jun 2016 15:19:45 +0000 (15:19 +0000)
delete description assignments

JIRA: FUNCTEST-339

Change-Id: I913baa8cd5bd692fa1edd74bb89c79d767374884
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/result_collection_api/opnfv_testapi/resources/result_models.py

index fb6a809..fdd8059 100644 (file)
@@ -90,7 +90,6 @@ class TestResult(object):
         t.case_name = a_dict.get('case_name')
         t.pod_name = a_dict.get('pod_name')
         t.project_name = a_dict.get('project_name')
         t.case_name = a_dict.get('case_name')
         t.pod_name = a_dict.get('pod_name')
         t.project_name = a_dict.get('project_name')
-        t.description = a_dict.get('description')
         t.start_date = str(a_dict.get('start_date'))
         t.stop_date = str(a_dict.get('stop_date'))
         t.details = a_dict.get('details')
         t.start_date = str(a_dict.get('start_date'))
         t.stop_date = str(a_dict.get('stop_date'))
         t.details = a_dict.get('details')
@@ -119,7 +118,6 @@ class TestResult(object):
             "case_name": self.case_name,
             "project_name": self.project_name,
             "pod_name": self.pod_name,
             "case_name": self.case_name,
             "project_name": self.project_name,
             "pod_name": self.pod_name,
-            "description": self.description,
             "start_date": str(self.start_date),
             "stop_date": str(self.stop_date),
             "version": self.version,
             "start_date": str(self.start_date),
             "stop_date": str(self.stop_date),
             "version": self.version,
@@ -137,7 +135,6 @@ class TestResult(object):
             "case_name": self.case_name,
             "project_name": self.project_name,
             "pod_name": self.pod_name,
             "case_name": self.case_name,
             "project_name": self.project_name,
             "pod_name": self.pod_name,
-            "description": self.description,
             "start_date": str(self.start_date),
             "stop_date": str(self.stop_date),
             "version": self.version,
             "start_date": str(self.start_date),
             "stop_date": str(self.stop_date),
             "version": self.version,