pip_services3_grpc.test package
Submodules
Module contents
-
class
pip_services3_grpc.test.
TestCommandableGrpcClient
(name: str) Bases:
pip_services3_grpc.clients.CommandableGrpcClient.CommandableGrpcClient
Creates a new instance of the client.
-
call_command
(name: str, correlation_id: Optional[str], params: dict) → Any Calls a remote method via GRPC commadable protocol. The call is made via Invoke method and all parameters are sent in args object. The complete route to remote method is defined as serviceName + “.” + name.
- Parameters
name – a name of the command to call.
correlation_id – (optional) transaction id to trace execution through call chain.
params – command parameters.
- Returns
the received result.
-
-
class
pip_services3_grpc.test.
TestGrpcClient
(client_name: str) Bases:
pip_services3_grpc.clients.GrpcClient.GrpcClient
GRPC client used for automated testing.