If we upload a new test, we can't modify the SUT version.
The reason is we must predefine the model.
Change-Id: I8822b078c25a015dd4cc4becfdaae141aed66359
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
@property trust_indicator: used for long duration test case
@ptype trust_indicator: L{TI}
"""
- def __init__(self, _id=None, owner=None, results=[],
- public="false", review="false", status="private",
- shared=[], filename="", label="", trust_indicator=None):
+ def __init__(self,
+ _id=None,
+ owner=None,
+ results=[],
+ public="false",
+ review="false",
+ status="private",
+ shared=[],
+ filename="",
+ label="",
+ sut_label="",
+ trust_indicator=None):
self._id = _id
self.owner = owner
self.results = results
self.shared = shared
self.filename = filename
self.label = label
+ self.sut_label = sut_label
@swagger.model()