Classes | Functions | Variables
tests_aio.unit.server_test Namespace Reference

Classes

class  _GenericHandler
 
class  TestServer
 

Functions

def _start_test_server ()
 

Variables

string _BLOCK_BRIEFLY = '/test/BlockBriefly'
 
string _BLOCK_FOREVER = '/test/BlockForever'
 
string _ERROR_IN_STREAM_STREAM = '/test/ErrorInStreamStream'
 
string _ERROR_IN_STREAM_UNARY = '/test/ErrorInStreamUnary'
 
string _ERROR_WITHOUT_RAISE_IN_STREAM_STREAM = '/test/ErrorWithoutRaiseInStreamStream'
 
string _ERROR_WITHOUT_RAISE_IN_UNARY_UNARY = '/test/ErrorWithoutRaiseInUnaryUnary'
 
string _INVALID_TRAILING_METADATA = '/test/InvalidTrailingMetadata'
 
int _MAXIMUM_CONCURRENT_RPCS = 5
 
int _NUM_STREAM_REQUESTS = 3
 
int _NUM_STREAM_RESPONSES = 5
 
string _REQUEST = b'\x00\x00\x00'
 
string _RESPONSE = b'\x01\x01\x01'
 
string _SIMPLE_UNARY_UNARY = '/test/SimpleUnaryUnary'
 
string _STREAM_STREAM_ASYNC_GEN = '/test/StreamStreamAsyncGen'
 
string _STREAM_STREAM_EVILLY_MIXED = '/test/StreamStreamEvillyMixed'
 
string _STREAM_STREAM_READER_WRITER = '/test/StreamStreamReaderWriter'
 
string _STREAM_UNARY_ASYNC_GEN = '/test/StreamUnaryAsyncGen'
 
string _STREAM_UNARY_EVILLY_MIXED = '/test/StreamUnaryEvillyMixed'
 
string _STREAM_UNARY_READER_WRITER = '/test/StreamUnaryReaderWriter'
 
string _UNARY_STREAM_ASYNC_GEN = '/test/UnaryStreamAsyncGen'
 
string _UNARY_STREAM_EVILLY_MIXED = '/test/UnaryStreamEvillyMixed'
 
string _UNARY_STREAM_READER_WRITER = '/test/UnaryStreamReaderWriter'
 
string _UNIMPLEMENTED_METHOD = '/test/UnimplementedMethod'
 
 level
 
 verbosity
 

Function Documentation

◆ _start_test_server()

def tests_aio.unit.server_test._start_test_server ( )
private

Definition at line 239 of file server_test.py.

Variable Documentation

◆ _BLOCK_BRIEFLY

string tests_aio.unit.server_test._BLOCK_BRIEFLY = '/test/BlockBriefly'
private

Definition at line 29 of file server_test.py.

◆ _BLOCK_FOREVER

string tests_aio.unit.server_test._BLOCK_FOREVER = '/test/BlockForever'
private

Definition at line 28 of file server_test.py.

◆ _ERROR_IN_STREAM_STREAM

string tests_aio.unit.server_test._ERROR_IN_STREAM_STREAM = '/test/ErrorInStreamStream'
private

Definition at line 40 of file server_test.py.

◆ _ERROR_IN_STREAM_UNARY

string tests_aio.unit.server_test._ERROR_IN_STREAM_UNARY = '/test/ErrorInStreamUnary'
private

Definition at line 41 of file server_test.py.

◆ _ERROR_WITHOUT_RAISE_IN_STREAM_STREAM

string tests_aio.unit.server_test._ERROR_WITHOUT_RAISE_IN_STREAM_STREAM = '/test/ErrorWithoutRaiseInStreamStream'
private

Definition at line 43 of file server_test.py.

◆ _ERROR_WITHOUT_RAISE_IN_UNARY_UNARY

string tests_aio.unit.server_test._ERROR_WITHOUT_RAISE_IN_UNARY_UNARY = '/test/ErrorWithoutRaiseInUnaryUnary'
private

Definition at line 42 of file server_test.py.

◆ _INVALID_TRAILING_METADATA

string tests_aio.unit.server_test._INVALID_TRAILING_METADATA = '/test/InvalidTrailingMetadata'
private

Definition at line 44 of file server_test.py.

◆ _MAXIMUM_CONCURRENT_RPCS

int tests_aio.unit.server_test._MAXIMUM_CONCURRENT_RPCS = 5
private

Definition at line 50 of file server_test.py.

◆ _NUM_STREAM_REQUESTS

int tests_aio.unit.server_test._NUM_STREAM_REQUESTS = 3
private

Definition at line 48 of file server_test.py.

◆ _NUM_STREAM_RESPONSES

int tests_aio.unit.server_test._NUM_STREAM_RESPONSES = 5
private

Definition at line 49 of file server_test.py.

◆ _REQUEST

string tests_aio.unit.server_test._REQUEST = b'\x00\x00\x00'
private

Definition at line 46 of file server_test.py.

◆ _RESPONSE

string tests_aio.unit.server_test._RESPONSE = b'\x01\x01\x01'
private

Definition at line 47 of file server_test.py.

◆ _SIMPLE_UNARY_UNARY

string tests_aio.unit.server_test._SIMPLE_UNARY_UNARY = '/test/SimpleUnaryUnary'
private

Definition at line 27 of file server_test.py.

◆ _STREAM_STREAM_ASYNC_GEN

string tests_aio.unit.server_test._STREAM_STREAM_ASYNC_GEN = '/test/StreamStreamAsyncGen'
private

Definition at line 36 of file server_test.py.

◆ _STREAM_STREAM_EVILLY_MIXED

string tests_aio.unit.server_test._STREAM_STREAM_EVILLY_MIXED = '/test/StreamStreamEvillyMixed'
private

Definition at line 38 of file server_test.py.

◆ _STREAM_STREAM_READER_WRITER

string tests_aio.unit.server_test._STREAM_STREAM_READER_WRITER = '/test/StreamStreamReaderWriter'
private

Definition at line 37 of file server_test.py.

◆ _STREAM_UNARY_ASYNC_GEN

string tests_aio.unit.server_test._STREAM_UNARY_ASYNC_GEN = '/test/StreamUnaryAsyncGen'
private

Definition at line 33 of file server_test.py.

◆ _STREAM_UNARY_EVILLY_MIXED

string tests_aio.unit.server_test._STREAM_UNARY_EVILLY_MIXED = '/test/StreamUnaryEvillyMixed'
private

Definition at line 35 of file server_test.py.

◆ _STREAM_UNARY_READER_WRITER

string tests_aio.unit.server_test._STREAM_UNARY_READER_WRITER = '/test/StreamUnaryReaderWriter'
private

Definition at line 34 of file server_test.py.

◆ _UNARY_STREAM_ASYNC_GEN

string tests_aio.unit.server_test._UNARY_STREAM_ASYNC_GEN = '/test/UnaryStreamAsyncGen'
private

Definition at line 30 of file server_test.py.

◆ _UNARY_STREAM_EVILLY_MIXED

string tests_aio.unit.server_test._UNARY_STREAM_EVILLY_MIXED = '/test/UnaryStreamEvillyMixed'
private

Definition at line 32 of file server_test.py.

◆ _UNARY_STREAM_READER_WRITER

string tests_aio.unit.server_test._UNARY_STREAM_READER_WRITER = '/test/UnaryStreamReaderWriter'
private

Definition at line 31 of file server_test.py.

◆ _UNIMPLEMENTED_METHOD

string tests_aio.unit.server_test._UNIMPLEMENTED_METHOD = '/test/UnimplementedMethod'
private

Definition at line 39 of file server_test.py.

◆ level

tests_aio.unit.server_test.level

Definition at line 591 of file server_test.py.

◆ verbosity

tests_aio.unit.server_test.verbosity

Definition at line 592 of file server_test.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:53