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

Classes

class  _GenericHandler
 
class  _MethodHandler
 
class  MetadataFlagsTest
 

Functions

def create_phony_channel ()
 
def handle_stream_stream (test, request_iterator, servicer_context)
 
def handle_stream_unary (test, request_iterator, servicer_context)
 
def handle_unary_stream (test, request, servicer_context)
 
def handle_unary_unary (test, request, servicer_context)
 
def perform_stream_stream_call (channel, wait_for_ready=None)
 
def perform_stream_unary_call (channel, wait_for_ready=None)
 
def perform_stream_unary_future (channel, wait_for_ready=None)
 
def perform_stream_unary_with_call (channel, wait_for_ready=None)
 
def perform_unary_stream_call (channel, wait_for_ready=None)
 
def perform_unary_unary_call (channel, wait_for_ready=None)
 
def perform_unary_unary_future (channel, wait_for_ready=None)
 
def perform_unary_unary_with_call (channel, wait_for_ready=None)
 

Variables

list _ALL_CALL_CASES
 
string _REQUEST = b'\x00\x00\x00'
 
string _RESPONSE = b'\x00\x00\x00'
 
string _STREAM_STREAM = '/test/StreamStream'
 
string _STREAM_UNARY = '/test/StreamUnary'
 
string _UNARY_STREAM = '/test/UnaryStream'
 
string _UNARY_UNARY = '/test/UnaryUnary'
 
 level
 
 verbosity
 

Function Documentation

◆ create_phony_channel()

def tests.unit._metadata_flags_test.create_phony_channel ( )
Creating phony channels is a workaround for retries

Definition at line 103 of file _metadata_flags_test.py.

◆ handle_stream_stream()

def tests.unit._metadata_flags_test.handle_stream_stream (   test,
  request_iterator,
  servicer_context 
)

Definition at line 55 of file _metadata_flags_test.py.

◆ handle_stream_unary()

def tests.unit._metadata_flags_test.handle_stream_unary (   test,
  request_iterator,
  servicer_context 
)

Definition at line 49 of file _metadata_flags_test.py.

◆ handle_unary_stream()

def tests.unit._metadata_flags_test.handle_unary_stream (   test,
  request,
  servicer_context 
)

Definition at line 44 of file _metadata_flags_test.py.

◆ handle_unary_unary()

def tests.unit._metadata_flags_test.handle_unary_unary (   test,
  request,
  servicer_context 
)

Definition at line 40 of file _metadata_flags_test.py.

◆ perform_stream_stream_call()

def tests.unit._metadata_flags_test.perform_stream_stream_call (   channel,
  wait_for_ready = None 
)

Definition at line 163 of file _metadata_flags_test.py.

◆ perform_stream_unary_call()

def tests.unit._metadata_flags_test.perform_stream_unary_call (   channel,
  wait_for_ready = None 
)

Definition at line 141 of file _metadata_flags_test.py.

◆ perform_stream_unary_future()

def tests.unit._metadata_flags_test.perform_stream_unary_future (   channel,
  wait_for_ready = None 
)

Definition at line 155 of file _metadata_flags_test.py.

◆ perform_stream_unary_with_call()

def tests.unit._metadata_flags_test.perform_stream_unary_with_call (   channel,
  wait_for_ready = None 
)

Definition at line 148 of file _metadata_flags_test.py.

◆ perform_unary_stream_call()

def tests.unit._metadata_flags_test.perform_unary_stream_call (   channel,
  wait_for_ready = None 
)

Definition at line 132 of file _metadata_flags_test.py.

◆ perform_unary_unary_call()

def tests.unit._metadata_flags_test.perform_unary_unary_call (   channel,
  wait_for_ready = None 
)

Definition at line 110 of file _metadata_flags_test.py.

◆ perform_unary_unary_future()

def tests.unit._metadata_flags_test.perform_unary_unary_future (   channel,
  wait_for_ready = None 
)

Definition at line 124 of file _metadata_flags_test.py.

◆ perform_unary_unary_with_call()

def tests.unit._metadata_flags_test.perform_unary_unary_with_call (   channel,
  wait_for_ready = None 
)

Definition at line 117 of file _metadata_flags_test.py.

Variable Documentation

◆ _ALL_CALL_CASES

list tests.unit._metadata_flags_test._ALL_CALL_CASES
private
Initial value:
1 = [
2  perform_unary_unary_call, perform_unary_unary_with_call,
3  perform_unary_unary_future, perform_unary_stream_call,
4  perform_stream_unary_call, perform_stream_unary_with_call,
5  perform_stream_unary_future, perform_stream_stream_call
6 ]

Definition at line 172 of file _metadata_flags_test.py.

◆ _REQUEST

string tests.unit._metadata_flags_test._REQUEST = b'\x00\x00\x00'
private

Definition at line 36 of file _metadata_flags_test.py.

◆ _RESPONSE

string tests.unit._metadata_flags_test._RESPONSE = b'\x00\x00\x00'
private

Definition at line 37 of file _metadata_flags_test.py.

◆ _STREAM_STREAM

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

Definition at line 34 of file _metadata_flags_test.py.

◆ _STREAM_UNARY

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

Definition at line 33 of file _metadata_flags_test.py.

◆ _UNARY_STREAM

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

Definition at line 32 of file _metadata_flags_test.py.

◆ _UNARY_UNARY

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

Definition at line 31 of file _metadata_flags_test.py.

◆ level

tests.unit._metadata_flags_test.level

Definition at line 259 of file _metadata_flags_test.py.

◆ verbosity

tests.unit._metadata_flags_test.verbosity

Definition at line 260 of file _metadata_flags_test.py.



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