3from grpc_reflection.v1alpha.proto_reflection_descriptor_database
import (
4 ServerReflectionRequest,
7logger = logging.getLogger(__name__)
10async def test_happy_path(grpc_reflection_client):
11 request = ServerReflectionRequest(list_services=
'')
12 response = grpc_reflection_client.ServerReflectionInfo(iter([request]))
13 res = await response.read()
14 list_services = res.list_services_response
15 services = list_services.service
16 result = set([service.name
for service
in services])
18 'grpc.reflection.v1alpha.ServerReflection',
19 'grpc.health.v1.Health',
21 assert result == reference