示例#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 = []
示例#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
示例#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
示例#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 = []
示例#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
示例#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 = []
示例#8
0
 def __init__(self):
     TimedItem.__init__(self)
     self.clear()
示例#9
0
 def __init__(self):
     TimedItem.__init__(self)
     self.clear()