Lines Matching full:machine
195 print('\nExpected one argument: Name of state machine\n')
200 print('\nNo such interactive state machine.\n')
205 def do_is_waiting(self, machine): argument
207 Determine if a machine is waiting for an advance call.
209 @param machine: Case sensitive name of the machine.
210 @return: True if |machine| is waiting to be advanced by the user.
213 ism = self._get_state_machine(machine)
220 print(('\nState machine is %swaiting.\n' %
224 (machine, repr(e))))
230 print ('\nUsage: is_waiting <state-machine-name>\n'
231 'Check whether a state machine is waiting for user action. The '
232 'waiting machine can be advanced using the |advance| command.\n'
233 'state-machine-name is the case sensitive name of the machine'
237 def do_advance(self, machine): argument
239 Advance the given state machine.
241 @param machine: Case sensitive name of the state machine to advance.
242 @returns: True if |machine| was successfully advanced, False otherwise.
245 ism = self._get_state_machine(machine)
253 print('\nError while advancing state machine: |%s|\n' % repr(e))
259 print ('\nUsage: advance <state-machine-name>\n'
260 'Advance a waiting state machine to the next step.\n'
261 'state-machine-name is the case sensitive name of the machine'