From 856fd610fa247c9e433a1ed1df90547b81c52ee1 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 --- testapi/opnfv_testapi/resources/testcase_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testapi/opnfv_testapi/resources') diff --git a/testapi/opnfv_testapi/resources/testcase_models.py b/testapi/opnfv_testapi/resources/testcase_models.py index c9dce60..e1f2fb6 100644 --- a/testapi/opnfv_testapi/resources/testcase_models.py +++ b/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