summaryrefslogtreecommitdiffstats
path: root/result_collection_api/resources/testcase_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'result_collection_api/resources/testcase_models.py')
-rw-r--r--result_collection_api/resources/testcase_models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/result_collection_api/resources/testcase_models.py b/result_collection_api/resources/testcase_models.py
index 90b3f75..a69f2f7 100644
--- a/result_collection_api/resources/testcase_models.py
+++ b/result_collection_api/resources/testcase_models.py
@@ -82,10 +82,11 @@ class Testcase(object):
@swagger.model()
class Testcases(object):
"""
+ @property testcases:
@ptype testcases: C{list} of L{Testcase}
"""
- def __init__(self, testcases=list()):
- self.testcases = testcases
+ def __init__(self):
+ self.testcases = list()
@staticmethod
def from_dict(res_dict):