예제 #1
0
 def __str__(self):
     _str = [State.__str__(self)]
     for spec in self.specifics:
         _str.append('{}'.format(spec))
     return '\n'.join(_str)
예제 #2
0
 def __init__(self, test_id, status, name, mti=False, specifics=None):
     State.__init__(self, test_id, status, name, mti=mti)
     self.specifics = specifics or []