def CreateRpcRunnerMock():
  ret = mock.MagicMock(spec=rpc.RpcRunner)
  ret.call_hooks_runner.side_effect = MockHooksExecutionFn
  return ret
Non-overridden unsubscribe yields unsupported error.
dataset/ETHPy150Open ganeti/ganeti/test/py/cmdlib/testsupport/rpc_runner_mock.py/CreateRpcRunnerMock--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubResourceTest.test_unsubscribe