aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test_grpc_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_grpc_helpers.py')
-rw-r--r--tests/unit/test_grpc_helpers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/test_grpc_helpers.py b/tests/unit/test_grpc_helpers.py
index 4c613a9..ca969e4 100644
--- a/tests/unit/test_grpc_helpers.py
+++ b/tests/unit/test_grpc_helpers.py
@@ -56,6 +56,9 @@ class RpcErrorImpl(grpc.RpcError, grpc.Call):
def details(self):
return None
+ def trailing_metadata(self):
+ return None
+
def test_wrap_unary_errors():
grpc_error = RpcErrorImpl(grpc.StatusCode.INVALID_ARGUMENT)