summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/resources
diff options
context:
space:
mode:
authorrohitsakala <rohitsakala@gmail.com>2016-11-30 13:45:30 +0530
committerrohitsakala <rohitsakala@gmail.com>2016-11-30 13:45:30 +0530
commita85487abd2808cafa447ea1357d5d012b96a8c76 (patch)
treea192671eca2a92053b1ef5eeeb8cffa3d9983ad8 /utils/test/testapi/opnfv_testapi/resources
parent7471fc66629d6f138099ec7e2ea5ebf9a68a6289 (diff)
Add parameters in init function
Change-Id: I8ce5219251ff21f2cf3a554d275b4d2584d70e0b Signed-off-by: rohitsakala <rohitsakala@gmail.com>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/resources')
-rw-r--r--utils/test/testapi/opnfv_testapi/resources/testcase_models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/testcase_models.py b/utils/test/testapi/opnfv_testapi/resources/testcase_models.py
index c9dce6088..e1f2fb650 100644
--- a/utils/test/testapi/opnfv_testapi/resources/testcase_models.py
+++ b/utils/test/testapi/opnfv_testapi/resources/testcase_models.py
@@ -41,7 +41,8 @@ class TestcaseUpdateRequest(object):
@swagger.model()
class Testcase(object):
- def __init__(self):
+ def __init__(self, _id=None, name=None, project_name=None,
+ description=None, url=None, creation_date=None):
self._id = None
self.name = None
self.project_name = None