From a85487abd2808cafa447ea1357d5d012b96a8c76 Mon Sep 17 00:00:00 2001 From: rohitsakala Date: Wed, 30 Nov 2016 13:45:30 +0530 Subject: Add parameters in init function Change-Id: I8ce5219251ff21f2cf3a554d275b4d2584d70e0b Signed-off-by: rohitsakala --- utils/test/testapi/opnfv_testapi/resources/testcase_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg