def __init__(self, as_a, i_want_to, so_that, identity): StatusItem.__init__(self, parent=None) TimedItem.__init__(self) self.as_a = as_a self.i_want_to = i_want_to self.so_that = so_that self.identity = identity self.scenarios = []
def __init__(self, scenario, description, execute_function, args, kwargs): StatusItem.__init__(self, parent=scenario) TimedItem.__init__(self) self.scenario = scenario self.description = description self.execute_function = execute_function self.args = args self.kwargs = kwargs
def __init__(self, scenario, description, execute_function, args, kwargs): StatusItem.__init__(self, parent=scenario) TimedItem.__init__(self) self.scenario = scenario self.description = description self.number_of_lines = len(description.split('\n')) self.execute_function = execute_function self.args = args self.kwargs = kwargs
def __init__(self, story, index, title): StatusItem.__init__(self, parent=story) TimedItem.__init__(self) self.story = story self.index = index self.title = title self.givens = [] self.whens = [] self.thens = []
def __init__(self): TimedItem.__init__(self) self.clear()