summaryrefslogtreecommitdiffstats
path: root/cvp/opnfv_testapi/resources/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'cvp/opnfv_testapi/resources/test_models.py')
-rw-r--r--cvp/opnfv_testapi/resources/test_models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cvp/opnfv_testapi/resources/test_models.py b/cvp/opnfv_testapi/resources/test_models.py
index 41fa6852..24b4d17b 100644
--- a/cvp/opnfv_testapi/resources/test_models.py
+++ b/cvp/opnfv_testapi/resources/test_models.py
@@ -53,7 +53,7 @@ class Test(models.ModelBase):
"""
def __init__(self, _id=None, owner=None, results=[],
public="false", review="false", status="private",
- shared=[], trust_indicator=None):
+ shared=[], filename="", label="", trust_indicator=None):
self._id = _id
self.owner = owner
self.results = results
@@ -62,6 +62,8 @@ class Test(models.ModelBase):
self.upload_date = datetime.now()
self.status = status
self.shared = shared
+ self.filename = filename
+ self.label = label
@swagger.model()