Exemple #1
0
 def setUp(self):
     self.sm = statemachine.StateMachineWS([MockState],
                                           'MockState',
                                           debug=debug)
     self.sm.debug = debug
     self.sm.states['MockState'].levelholder[0] = 0
Exemple #2
0
 def setUp(self):
     self.sm = statemachine.StateMachineWS(state_classes=[],
                                           initial_state='State')
     self.sm.debug = debug