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

Classes

class  AdhocGenericHandler
 
class  CountingRequestIterator
 
class  CountingResponseIterator
 

Functions

def block_until_certain_state (aio.Channel channel, grpc.ChannelConnectivity expected_state)
 
def inject_callbacks (aio.Call call)
 
def seen_metadata (Metadata expected, Metadata actual)
 
bool seen_metadatum (MetadataKey expected_key, MetadataValue expected_value, Metadata actual)
 

Variables

string ADHOC_METHOD = '/test/AdHoc'
 

Function Documentation

◆ block_until_certain_state()

def tests_aio.unit._common.block_until_certain_state ( aio.Channel  channel,
grpc.ChannelConnectivity  expected_state 
)

Definition at line 40 of file tests/tests_aio/unit/_common.py.

◆ inject_callbacks()

def tests_aio.unit._common.inject_callbacks ( aio.Call  call)

Definition at line 48 of file tests/tests_aio/unit/_common.py.

◆ seen_metadata()

def tests_aio.unit._common.seen_metadata ( Metadata  expected,
Metadata  actual 
)

Definition at line 30 of file tests/tests_aio/unit/_common.py.

◆ seen_metadatum()

bool tests_aio.unit._common.seen_metadatum ( MetadataKey  expected_key,
MetadataValue  expected_value,
Metadata  actual 
)

Definition at line 34 of file tests/tests_aio/unit/_common.py.

Variable Documentation

◆ ADHOC_METHOD

string tests_aio.unit._common.ADHOC_METHOD = '/test/AdHoc'

Definition at line 27 of file tests/tests_aio/unit/_common.py.



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