Mocks for the gRPC servers, a.k.a.
`pytest_userver.grpc.
Classes | |
| class | Mockserver |
| Allows to install mocks that are reset between tests, see grpc_mockserver. More... | |
| class | MockserverSession |
| Allows to install mocks that are kept active between tests, see grpc_mockserver_session. More... | |
Variables | |
| TypeAlias | Handler = Callable[[Any, grpc.aio.ServicerContext], Any] |
| TypeAlias | MockDecorator = Callable[[Handler], testsuite.utils.callinfo.AsyncCallQueue] |
| TypeAlias | AsyncExcAppend = Callable[[Exception], None] |
| TypeAlias pytest_userver.grpc.AsyncExcAppend = Callable[[Exception], None] |
Definition at line 30 of file __init__.py.
| TypeAlias pytest_userver.grpc.Handler = Callable[[Any, grpc.aio.ServicerContext], Any] |
Definition at line 28 of file __init__.py.
| TypeAlias pytest_userver.grpc.MockDecorator = Callable[[Handler], testsuite.utils.callinfo.AsyncCallQueue] |
Definition at line 29 of file __init__.py.