aboutsummaryrefslogtreecommitdiff
path: root/src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py')
-rw-r--r--src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py b/src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py
index d85eb30c8e..1027be1c67 100644
--- a/src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py
+++ b/src/python/grpcio_tests/tests/unit/_rpc_test_helpers.py
@@ -277,10 +277,7 @@ class _GenericHandler(grpc.GenericRpcHandler):
def unary_unary_multi_callable(channel):
- return channel.unary_unary(
- _UNARY_UNARY,
- _registered_method=True,
- )
+ return channel.unary_unary(_UNARY_UNARY)
def unary_stream_multi_callable(channel):
@@ -288,7 +285,6 @@ def unary_stream_multi_callable(channel):
_UNARY_STREAM,
request_serializer=_SERIALIZE_REQUEST,
response_deserializer=_DESERIALIZE_RESPONSE,
- _registered_method=True,
)
@@ -297,7 +293,6 @@ def unary_stream_non_blocking_multi_callable(channel):
_UNARY_STREAM_NON_BLOCKING,
request_serializer=_SERIALIZE_REQUEST,
response_deserializer=_DESERIALIZE_RESPONSE,
- _registered_method=True,
)
@@ -306,22 +301,15 @@ def stream_unary_multi_callable(channel):
_STREAM_UNARY,
request_serializer=_SERIALIZE_REQUEST,
response_deserializer=_DESERIALIZE_RESPONSE,
- _registered_method=True,
)
def stream_stream_multi_callable(channel):
- return channel.stream_stream(
- _STREAM_STREAM,
- _registered_method=True,
- )
+ return channel.stream_stream(_STREAM_STREAM)
def stream_stream_non_blocking_multi_callable(channel):
- return channel.stream_stream(
- _STREAM_STREAM_NON_BLOCKING,
- _registered_method=True,
- )
+ return channel.stream_stream(_STREAM_STREAM_NON_BLOCKING)
class BaseRPCTest(object):