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

Classes

class  SSLSessionCacheTest
 

Functions

def handle_unary_unary (request, servicer_context)
 
def start_secure_server ()
 

Variables

string _AUTH_CTX = 'auth_ctx'
 
 _CERTIFICATE_CHAIN = resources.certificate_chain()
 
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._session_cache_test.handle_unary_unary (   request,
  servicer_context 
)

Definition at line 47 of file _session_cache_test.py.

◆ start_secure_server()

def tests.unit._session_cache_test.start_secure_server ( )

Definition at line 55 of file _session_cache_test.py.

Variable Documentation

◆ _AUTH_CTX

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

Definition at line 35 of file _session_cache_test.py.

◆ _CERTIFICATE_CHAIN

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

Definition at line 38 of file _session_cache_test.py.

◆ _ID

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

Definition at line 33 of file _session_cache_test.py.

◆ _ID_KEY

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

Definition at line 34 of file _session_cache_test.py.

◆ _PRIVATE_KEY

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

Definition at line 37 of file _session_cache_test.py.

◆ _PROPERTY_OPTIONS

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

Definition at line 41 of file _session_cache_test.py.

◆ _REQUEST

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

Definition at line 27 of file _session_cache_test.py.

◆ _RESPONSE

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

Definition at line 28 of file _session_cache_test.py.

◆ _SERVER_CERTS

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

Definition at line 40 of file _session_cache_test.py.

◆ _SERVER_HOST_OVERRIDE

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

Definition at line 32 of file _session_cache_test.py.

◆ _TEST_ROOT_CERTIFICATES

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

Definition at line 39 of file _session_cache_test.py.

◆ _UNARY_UNARY

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

Definition at line 30 of file _session_cache_test.py.

◆ verbosity

tests.unit._session_cache_test.verbosity

Definition at line 140 of file _session_cache_test.py.



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