Classes | Functions | Variables
tests.protoc_plugin._python_plugin_test Namespace Reference

Classes

class  _Service
 
class  _ServicerMethods
 
class  ModuleMainTest
 
class  PythonPluginTest
 
class  SimpleStubsPluginTest
 

Functions

def _CreateIncompleteService ()
 
def _CreateService ()
 
def _full_duplex_request_iterator ()
 
def _streaming_input_request_iterator ()
 
def _streaming_output_request ()
 

Variables

string ADD_SERVICER_TO_SERVER_IDENTIFIER = 'add_TestServiceServicer_to_server'
 
string SERVICER_IDENTIFIER = 'TestServiceServicer'
 
string STUB_IDENTIFIER = 'TestServiceStub'
 
 verbosity
 

Function Documentation

◆ _CreateIncompleteService()

def tests.protoc_plugin._python_plugin_test._CreateIncompleteService ( )
private
Provides a servicer backend that fails to implement methods and its stub.

  Returns:
A _Service with which to test RPCs. The returned _Service's
  servicer_methods implements none of the methods required of it.

Definition at line 172 of file _python_plugin_test.py.

◆ _CreateService()

def tests.protoc_plugin._python_plugin_test._CreateService ( )
private
Provides a servicer backend and a stub.

  Returns:
A _Service with which to test RPCs.

Definition at line 136 of file _python_plugin_test.py.

◆ _full_duplex_request_iterator()

def tests.protoc_plugin._python_plugin_test._full_duplex_request_iterator ( )
private

Definition at line 210 of file _python_plugin_test.py.

◆ _streaming_input_request_iterator()

def tests.protoc_plugin._python_plugin_test._streaming_input_request_iterator ( )
private

Definition at line 193 of file _python_plugin_test.py.

◆ _streaming_output_request()

def tests.protoc_plugin._python_plugin_test._streaming_output_request ( )
private

Definition at line 201 of file _python_plugin_test.py.

Variable Documentation

◆ ADD_SERVICER_TO_SERVER_IDENTIFIER

string tests.protoc_plugin._python_plugin_test.ADD_SERVICER_TO_SERVER_IDENTIFIER = 'add_TestServiceServicer_to_server'

Definition at line 41 of file _python_plugin_test.py.

◆ SERVICER_IDENTIFIER

string tests.protoc_plugin._python_plugin_test.SERVICER_IDENTIFIER = 'TestServiceServicer'

Definition at line 40 of file _python_plugin_test.py.

◆ STUB_IDENTIFIER

string tests.protoc_plugin._python_plugin_test.STUB_IDENTIFIER = 'TestServiceStub'

Definition at line 39 of file _python_plugin_test.py.

◆ verbosity

tests.protoc_plugin._python_plugin_test.verbosity

Definition at line 662 of file _python_plugin_test.py.



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