aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2018-07-26 11:18:48 -0700
committerGravatar Mehrdad Afshari <mmx@google.com>2018-07-26 11:45:59 -0700
commitb12f0aaf0740ddac4cf05ecc00da23c847c239a3 (patch)
tree1a405fee36565f47fbd962997ea67f8a235833cd /src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
parentac81f5aa32ee53f50f99f695849dd1f724535058 (diff)
Add SERVICE_NAME to reflection/health
Diffstat (limited to 'src/python/grpcio_tests/tests/health_check/_health_servicer_test.py')
-rw-r--r--src/python/grpcio_tests/tests/health_check/_health_servicer_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py b/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
index 3cbbb8de33..350b5eebe5 100644
--- a/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
+++ b/src/python/grpcio_tests/tests/health_check/_health_servicer_test.py
@@ -73,6 +73,9 @@ class HealthServicerTest(unittest.TestCase):
self.assertEqual(grpc.StatusCode.NOT_FOUND, context.exception.code())
+ def test_health_service_name(self):
+ self.assertEqual(health.SERVICE_NAME, 'grpc.health.v1.Health')
+
if __name__ == '__main__':
unittest.main(verbosity=2)