예제 #1
0
파일: steps.py 프로젝트: levitte/buildbot
 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
예제 #2
0
 def makeRemoteShellCommand(self, *args, **kwargs):
     return remotecommand.FakeRemoteShellCommand(*args, **kwargs)