Classes | Variables
tests.unit._error_message_encoding_test Namespace Reference

Classes

class  _GenericHandler
 
class  _MethodHandler
 
class  ErrorMessageEncodingTest
 

Variables

string _REQUEST = b'\x00\x00\x00'
 
string _RESPONSE = b'\x00\x00\x00'
 
string _UNARY_UNARY = '/test/UnaryUnary'
 
list _UNICODE_ERROR_MESSAGES
 
 verbosity
 

Variable Documentation

◆ _REQUEST

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

Definition at line 30 of file _error_message_encoding_test.py.

◆ _RESPONSE

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

Definition at line 31 of file _error_message_encoding_test.py.

◆ _UNARY_UNARY

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

Definition at line 33 of file _error_message_encoding_test.py.

◆ _UNICODE_ERROR_MESSAGES

list tests.unit._error_message_encoding_test._UNICODE_ERROR_MESSAGES
private
Initial value:
1 = [
2  b'\xe2\x80\x9d'.decode('utf-8'),
3  b'abc\x80\xd0\xaf'.decode('latin-1'),
4  b'\xc3\xa9'.decode('utf-8'),
5 ]

Definition at line 24 of file _error_message_encoding_test.py.

◆ verbosity

tests.unit._error_message_encoding_test.verbosity

Definition at line 87 of file _error_message_encoding_test.py.

grpc._common.decode
def decode(b)
Definition: grpc/_common.py:75


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