summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/unit/handlers/test_base.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-01-03 17:50:53 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-01-04 16:55:40 +0800
commit8dd0bcd2e98d283619d12c9734c126b19757f065 (patch)
tree1f546a920f7e7878b652440c576fc65499884ceb /testapi/opnfv_testapi/tests/unit/handlers/test_base.py
parent4bef7e27562d23c0cbdd56adf1cdc419f55e6aa4 (diff)
simplify test_pod.py with eq
Change-Id: I1efd519f877d48499dcd98a420b90a1b5d4c488f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit/handlers/test_base.py')
-rw-r--r--testapi/opnfv_testapi/tests/unit/handlers/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/handlers/test_base.py b/testapi/opnfv_testapi/tests/unit/handlers/test_base.py
index c98ed69..6436b8b 100644
--- a/testapi/opnfv_testapi/tests/unit/handlers/test_base.py
+++ b/testapi/opnfv_testapi/tests/unit/handlers/test_base.py
@@ -36,14 +36,14 @@ class TestBase(testing.AsyncHTTPTestCase):
role='community-ci',
_id=str(ObjectId()),
owner='ValidUser',
- create_date=str(datetime.now()))
+ creation_date=str(datetime.now()))
self.pod_e = pod_models.Pod(name='zte-pod2',
mode='metal',
details='zte pod 2',
role='production-ci',
_id=str(ObjectId()),
owner='ValidUser',
- create_date=str(datetime.now()))
+ creation_date=str(datetime.now()))
self.project_e = project_models.Project(
name='functest',
description='functest test',