summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/models/project_models.py
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-01-29 16:52:31 +0530
committerthuva4 <tharma.thuva@gmail.com>2018-01-29 16:52:31 +0530
commit1ba2540fb5b68aa904341a89ba2fae54ab46541e (patch)
tree61b63a37353c6d078a73aeef7e94c1d203d9bf6c /testapi/opnfv_testapi/models/project_models.py
parente6afa4d647a48736fb6645618d773de1c544bbd6 (diff)
owner to creator
Change Owner to creator in pod, projects Add creator in testCase, scenarios Fix issue in e2e testing Change-Id: Ib520eb107dce2ed8fc6fd390f034f500bf4c742a Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/models/project_models.py')
-rw-r--r--testapi/opnfv_testapi/models/project_models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/models/project_models.py b/testapi/opnfv_testapi/models/project_models.py
index 5f280f1..eac2fd3 100644
--- a/testapi/opnfv_testapi/models/project_models.py
+++ b/testapi/opnfv_testapi/models/project_models.py
@@ -27,11 +27,12 @@ class ProjectUpdateRequest(base_models.ModelBase):
@swagger.model()
class Project(base_models.ModelBase):
def __init__(self,
- name=None, _id=None, description=None, create_date=None):
+ name=None, creator='', _id=None, description=None, creation_date=None):
+ self.creator = creator
self._id = _id
self.name = name
self.description = description
- self.creation_date = create_date
+ self.creation_date = creation_date
@swagger.model()