def channel(service_descriptors, time): """Creates a Channel for use in tests of a gRPC Python-using system. Args: service_descriptors: An iterable of descriptor.ServiceDescriptors describing the RPCs that will be made on the returned Channel by the system under test. time: A Time to be used for tests. Returns: A Channel for use in tests. """ from grpc_testing import _channel return _channel.testing_channel(service_descriptors, time)