aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_test/grpc_test/framework
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-08-26 14:47:48 -0400
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-08-26 14:47:48 -0400
commitf61897df5768c9024162157bc37bcf0069b3a811 (patch)
tree67c58626835ae993df9da6b88f2cb99dd7c9ee16 /src/python/grpcio_test/grpc_test/framework
parent60e0e743bed05b248c485949c6cd9e05fa02b607 (diff)
parent815604fdcdb06757efb79b456a811374656c976d (diff)
Merge pull request #3044 from nathanielmanistaatgoogle/no-such-method-code-and-message
Add code and message to base.NoSuchMethodError
Diffstat (limited to 'src/python/grpcio_test/grpc_test/framework')
-rw-r--r--src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py b/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py
index 5c8b176da4..87332cf612 100644
--- a/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py
+++ b/src/python/grpcio_test/grpc_test/framework/interfaces/base/test_cases.py
@@ -134,7 +134,7 @@ class _Servicer(base.Servicer):
if group != self._group or method != self._method:
controller.fail(
'%s != %s or %s != %s' % (group, self._group, method, self._method))
- raise base.NoSuchMethodError()
+ raise base.NoSuchMethodError(None, None)
else:
operator = _Operator(
controller, controller.on_service_advance, self._pool,