def testExecuteFailingCommand(self):
     """Test a no-op command, raises SystemExit."""
     with self.assertRaises(SystemExit):
         deploy_impl._ExecuteCommand(['false'])
 def testExecuteCommand(self):
     """Test that a process is returned when executing a command."""
     self.assertIsInstance(deploy_impl._ExecuteCommand(['echo', 'foobar']),
                           subprocess.Popen)