def _RunCmd(self, fail, cmd, interactive=NotImplemented):
    self.assertTrue(interactive)
    self.assertEqual(cmd, [pathutils.DAEMON_UTIL, 'reload-ssh-keys'])
    if fail:
        exit_code = constants.EXIT_FAILURE
    else:
        exit_code = constants.EXIT_SUCCESS
    return utils.RunResult(exit_code, None, 'stdout', 'stderr', utils.ShellQuoteArgs(cmd), NotImplemented, NotImplemented)
def _RunCmd(self, fail, cmd, interactive=NotImplemented):
    self.assertTrue(interactive)
    self.assertEqual(cmd, [pathutils.DAEMON_UTIL, 'reload-ssh-keys'])
    if fail:
        exit_code = constants.EXIT_FAILURE
    else:
        exit_code = constants.EXIT_SUCCESS
    return utils.RunResult(exit_code, None, 'stdout', 'stderr', utils.ShellQuoteArgs(cmd), NotImplemented, NotImplemented)