summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-01 09:43:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-01 09:43:58 +0000
commitbb77524cacd9fa4afe7c96b560534f6cc927789b (patch)
tree482eedbe0f7e52ac0a2a1d6554fbd8122f2a6e98
parentc15158bea966d89d0730a9931675a7bcb93e8343 (diff)
parenta85487abd2808cafa447ea1357d5d012b96a8c76 (diff)
Merge "Add parameters in init function"
-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