Classes | Functions | Variables
tests.unit._interceptor_test Namespace Reference

Classes

class  _ApplicationErrorStandin
 
class  _Callback
 
class  _ClientCallDetails
 
class  _DefectiveClientInterceptor
 
class  _GenericClientInterceptor
 
class  _GenericHandler
 
class  _GenericServerInterceptor
 
class  _Handler
 
class  _LoggingInterceptor
 
class  _MethodHandler
 
class  InterceptorTest
 

Functions

def _append_request_header_interceptor (header, value)
 
def _filter_server_interceptor (condition, interceptor)
 
def _stream_stream_multi_callable (channel)
 
def _stream_unary_multi_callable (channel)
 
def _unary_stream_multi_callable (channel)
 
def _unary_unary_multi_callable (channel)
 
def _wrap_request_iterator_stream_interceptor (wrapper)
 

Variables

 _DESERIALIZE_REQUEST = lambda bytestring: bytestring[len(bytestring) // 2:]
 
 _DESERIALIZE_RESPONSE = lambda bytestring: bytestring[:len(bytestring) // 3]
 
string _EXCEPTION_REQUEST = b'\x09\x0a'
 
int _SERIALIZE_REQUEST = lambda bytestring: bytestring * 2
 
int _SERIALIZE_RESPONSE = lambda bytestring: bytestring * 3
 
string _STREAM_STREAM = '/test/StreamStream'
 
string _STREAM_UNARY = '/test/StreamUnary'
 
string _UNARY_STREAM = '/test/UnaryStream'
 
string _UNARY_UNARY = '/test/UnaryUnary'
 
 verbosity
 

Function Documentation

◆ _append_request_header_interceptor()

def tests.unit._interceptor_test._append_request_header_interceptor (   header,
  value 
)
private

Definition at line 303 of file _interceptor_test.py.

◆ _filter_server_interceptor()

def tests.unit._interceptor_test._filter_server_interceptor (   condition,
  interceptor 
)
private

Definition at line 331 of file _interceptor_test.py.

◆ _stream_stream_multi_callable()

def tests.unit._interceptor_test._stream_stream_multi_callable (   channel)
private

Definition at line 186 of file _interceptor_test.py.

◆ _stream_unary_multi_callable()

def tests.unit._interceptor_test._stream_unary_multi_callable (   channel)
private

Definition at line 180 of file _interceptor_test.py.

◆ _unary_stream_multi_callable()

def tests.unit._interceptor_test._unary_stream_multi_callable (   channel)
private

Definition at line 174 of file _interceptor_test.py.

◆ _unary_unary_multi_callable()

def tests.unit._interceptor_test._unary_unary_multi_callable (   channel)
private

Definition at line 170 of file _interceptor_test.py.

◆ _wrap_request_iterator_stream_interceptor()

def tests.unit._interceptor_test._wrap_request_iterator_stream_interceptor (   wrapper)
private

Definition at line 291 of file _interceptor_test.py.

Variable Documentation

◆ _DESERIALIZE_REQUEST

tests.unit._interceptor_test._DESERIALIZE_REQUEST = lambda bytestring: bytestring[len(bytestring) // 2:]
private

Definition at line 32 of file _interceptor_test.py.

◆ _DESERIALIZE_RESPONSE

tests.unit._interceptor_test._DESERIALIZE_RESPONSE = lambda bytestring: bytestring[:len(bytestring) // 3]
private

Definition at line 34 of file _interceptor_test.py.

◆ _EXCEPTION_REQUEST

string tests.unit._interceptor_test._EXCEPTION_REQUEST = b'\x09\x0a'
private

Definition at line 36 of file _interceptor_test.py.

◆ _SERIALIZE_REQUEST

int tests.unit._interceptor_test._SERIALIZE_REQUEST = lambda bytestring: bytestring * 2
private

Definition at line 31 of file _interceptor_test.py.

◆ _SERIALIZE_RESPONSE

int tests.unit._interceptor_test._SERIALIZE_RESPONSE = lambda bytestring: bytestring * 3
private

Definition at line 33 of file _interceptor_test.py.

◆ _STREAM_STREAM

string tests.unit._interceptor_test._STREAM_STREAM = '/test/StreamStream'
private

Definition at line 41 of file _interceptor_test.py.

◆ _STREAM_UNARY

string tests.unit._interceptor_test._STREAM_UNARY = '/test/StreamUnary'
private

Definition at line 40 of file _interceptor_test.py.

◆ _UNARY_STREAM

string tests.unit._interceptor_test._UNARY_STREAM = '/test/UnaryStream'
private

Definition at line 39 of file _interceptor_test.py.

◆ _UNARY_UNARY

string tests.unit._interceptor_test._UNARY_UNARY = '/test/UnaryUnary'
private

Definition at line 38 of file _interceptor_test.py.

◆ verbosity

tests.unit._interceptor_test.verbosity

Definition at line 708 of file _interceptor_test.py.



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