def SetupDefaultRpcModuleMock(rpc_mod):
  rpc_mod.DnsOnlyRunner.return_value = CreateRpcRunnerMock()
Configures the given rpc_mod.
dataset/ETHPy150Open ganeti/ganeti/test/py/cmdlib/testsupport/rpc_runner_mock.py/SetupDefaultRpcModuleMock