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