Esempio n. 1
0
 def create_fake_remote_shell_command(*args, **kwargs):
     cmd = remotecommand.FakeRemoteShellCommand(*args, **kwargs)
     cmd.testcase = self
     if self._next_remote_command_number in self._interrupt_remote_command_numbers:
         cmd.set_run_interrupt()
     self._next_remote_command_number += 1
     return cmd
 def makeRemoteShellCommand(self, *args, **kwargs):
     return remotecommand.FakeRemoteShellCommand(*args, **kwargs)