Exemplo n.º 1
0
 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 = []
Exemplo n.º 2
0
 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
Exemplo n.º 4
0
    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
Exemplo n.º 5
0
    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 = []
Exemplo n.º 6
0
    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
Exemplo n.º 7
0
    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 = []