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

Classes

class  _GenericHandler
 
class  _Handler
 
class  _MethodHandler
 
class  FailAfterFewIterationsCounter
 
class  InvocationDefectsTest
 

Functions

def _defective_handler_multi_callable (channel)
 
def _stream_stream_multi_callable (channel)
 
def _stream_unary_multi_callable (channel)
 
def _unary_stream_multi_callable (channel)
 
def _unary_unary_multi_callable (channel)
 

Variables

string _DEFECTIVE_GENERIC_RPC_HANDLER = '/test/DefectiveGenericRpcHandler'
 
 _DESERIALIZE_REQUEST = lambda bytestring: bytestring[len(bytestring) // 2:]
 
 _DESERIALIZE_RESPONSE = lambda bytestring: bytestring[:len(bytestring) // 3]
 
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

◆ _defective_handler_multi_callable()

def tests.unit._invocation_defects_test._defective_handler_multi_callable (   channel)
private

Definition at line 175 of file _invocation_defects_test.py.

◆ _stream_stream_multi_callable()

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

Definition at line 171 of file _invocation_defects_test.py.

◆ _stream_unary_multi_callable()

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

Definition at line 165 of file _invocation_defects_test.py.

◆ _unary_stream_multi_callable()

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

Definition at line 159 of file _invocation_defects_test.py.

◆ _unary_unary_multi_callable()

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

Definition at line 155 of file _invocation_defects_test.py.

Variable Documentation

◆ _DEFECTIVE_GENERIC_RPC_HANDLER

string tests.unit._invocation_defects_test._DEFECTIVE_GENERIC_RPC_HANDLER = '/test/DefectiveGenericRpcHandler'
private

Definition at line 33 of file _invocation_defects_test.py.

◆ _DESERIALIZE_REQUEST

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

Definition at line 25 of file _invocation_defects_test.py.

◆ _DESERIALIZE_RESPONSE

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

Definition at line 27 of file _invocation_defects_test.py.

◆ _SERIALIZE_REQUEST

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

Definition at line 24 of file _invocation_defects_test.py.

◆ _SERIALIZE_RESPONSE

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

Definition at line 26 of file _invocation_defects_test.py.

◆ _STREAM_STREAM

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

Definition at line 32 of file _invocation_defects_test.py.

◆ _STREAM_UNARY

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

Definition at line 31 of file _invocation_defects_test.py.

◆ _UNARY_STREAM

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

Definition at line 30 of file _invocation_defects_test.py.

◆ _UNARY_UNARY

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

Definition at line 29 of file _invocation_defects_test.py.

◆ verbosity

tests.unit._invocation_defects_test.verbosity

Definition at line 266 of file _invocation_defects_test.py.



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