We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608805a commit 6304ae6Copy full SHA for 6304ae6
api_core/tests/unit/test_bidi.py
@@ -125,9 +125,10 @@ def make_rpc():
125
call = mock.create_autospec(_CallAndFuture, instance=True)
126
rpc = mock.create_autospec(grpc.StreamStreamMultiCallable, instance=True)
127
128
- def rpc_side_effect(request):
+ def rpc_side_effect(request, metadata=None):
129
call.is_active.return_value = True
130
call.request = request
131
+ call.metadata = metadata
132
return call
133
134
rpc.side_effect = rpc_side_effect
0 commit comments