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

Classes

class  AuthContextTest
 

Functions

def handle_unary_unary (request, servicer_context)
 

Variables

string _AUTH_CTX = 'auth_ctx'
 
 _CERTIFICATE_CHAIN = resources.certificate_chain()
 
tuple _CLIENT_IDS
 
string _ID = 'id'
 
string _ID_KEY = 'id_key'
 
 _PRIVATE_KEY = resources.private_key()
 
tuple _PROPERTY_OPTIONS
 
string _REQUEST = b'\x00\x00\x00'
 
string _RESPONSE = b'\x00\x00\x00'
 
tuple _SERVER_CERTS = ((_PRIVATE_KEY, _CERTIFICATE_CHAIN),)
 
string _SERVER_HOST_OVERRIDE = 'foo.test.google.fr'
 
 _TEST_ROOT_CERTIFICATES = resources.test_root_certificates()
 
string _UNARY_UNARY = '/test/UnaryUnary'
 
 verbosity
 

Function Documentation

◆ handle_unary_unary()

def tests.unit._auth_context_test.handle_unary_unary (   request,
  servicer_context 
)

Definition at line 54 of file _auth_context_test.py.

Variable Documentation

◆ _AUTH_CTX

string tests.unit._auth_context_test._AUTH_CTX = 'auth_ctx'
private

Definition at line 42 of file _auth_context_test.py.

◆ _CERTIFICATE_CHAIN

tests.unit._auth_context_test._CERTIFICATE_CHAIN = resources.certificate_chain()
private

Definition at line 45 of file _auth_context_test.py.

◆ _CLIENT_IDS

tuple tests.unit._auth_context_test._CLIENT_IDS
private
Initial value:
1 = (
2  b'*.test.google.fr',
3  b'waterzooi.test.google.be',
4  b'*.test.youtube.com',
5  b'192.168.1.3',
6 )

Definition at line 34 of file _auth_context_test.py.

◆ _ID

string tests.unit._auth_context_test._ID = 'id'
private

Definition at line 40 of file _auth_context_test.py.

◆ _ID_KEY

string tests.unit._auth_context_test._ID_KEY = 'id_key'
private

Definition at line 41 of file _auth_context_test.py.

◆ _PRIVATE_KEY

tests.unit._auth_context_test._PRIVATE_KEY = resources.private_key()
private

Definition at line 44 of file _auth_context_test.py.

◆ _PROPERTY_OPTIONS

tuple tests.unit._auth_context_test._PROPERTY_OPTIONS
private
Initial value:
1 = ((
2  'grpc.ssl_target_name_override',
3  _SERVER_HOST_OVERRIDE,
4 ),)

Definition at line 48 of file _auth_context_test.py.

◆ _REQUEST

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

Definition at line 28 of file _auth_context_test.py.

◆ _RESPONSE

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

Definition at line 29 of file _auth_context_test.py.

◆ _SERVER_CERTS

tuple tests.unit._auth_context_test._SERVER_CERTS = ((_PRIVATE_KEY, _CERTIFICATE_CHAIN),)
private

Definition at line 47 of file _auth_context_test.py.

◆ _SERVER_HOST_OVERRIDE

string tests.unit._auth_context_test._SERVER_HOST_OVERRIDE = 'foo.test.google.fr'
private

Definition at line 33 of file _auth_context_test.py.

◆ _TEST_ROOT_CERTIFICATES

tests.unit._auth_context_test._TEST_ROOT_CERTIFICATES = resources.test_root_certificates()
private

Definition at line 46 of file _auth_context_test.py.

◆ _UNARY_UNARY

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

Definition at line 31 of file _auth_context_test.py.

◆ verbosity

tests.unit._auth_context_test.verbosity

Definition at line 197 of file _auth_context_test.py.



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