def test_create_endpoint(self, mockce): prps = ProcessRPCServer(process=sentinel.process) prps.routing_call = sentinel.rcall prps.create_endpoint(to_name=sentinel.to_name) mockce.assert_called_once_with(prps, process=sentinel.process, to_name=sentinel.to_name, routing_call=sentinel.rcall)
def create_endpoint(self, **kwargs): return ProcessRPCServer.create_endpoint(self, **kwargs)
def test_create_endpoint(self, mockce): prps = ProcessRPCServer(process=sentinel.process) prps.routing_call = sentinel.rcall prps.create_endpoint(to_name=sentinel.to_name) mockce.assert_called_once_with(prps, process=sentinel.process, to_name=sentinel.to_name, routing_call=sentinel.rcall)
def create_endpoint(self, **kwargs): return ProcessRPCServer.create_endpoint(self, **kwargs)