Make gRPC requests to the service.
Functions | |
int | grpc_service_port (service_config) |
Returns the gRPC listener port number of the service that is set in the static configuration file. | |
str | grpc_service_endpoint (grpc_service_port) |
Returns the gRPC endpoint of the service. | |
float | grpc_service_timeout (pytestconfig) |
Returns the gRPC timeout for the service that is set by the command line option --service-timeout . | |
_grpc_session_channel (grpc_service_endpoint) | |
grpc_channel (grpc_service_endpoint, grpc_service_deps, grpc_service_timeout, _grpc_session_channel) | |
Returns the gRPC channel configured by the parameters from the grpc_service_endpoint fixture. | |
grpc_service_deps (service_client) | |
gRPC service dependencies hook. | |
userver_config_grpc_mockserver (grpc_mockserver_endpoint) | |
Returns a function that adjusts the static config for testsuite. | |
Variables | |
float | DEFAULT_TIMEOUT = 15.0 |
list | USERVER_CONFIG_HOOKS = ['userver_config_grpc_mockserver'] |
|
protected |
float pytest_userver.plugins.grpc.client.DEFAULT_TIMEOUT = 15.0 |
list pytest_userver.plugins.grpc.client.USERVER_CONFIG_HOOKS = ['userver_config_grpc_mockserver'] |