14 """Tests of channel arguments on client/server side."""
16 from concurrent
import futures
30 (
'arg1', b
'bytes_val'),
37 INVALID_TEST_CHANNEL_ARGS = [
52 grpc.server(futures.ThreadPoolExecutor(max_workers=1),
53 options=TEST_CHANNEL_ARGS)
56 for invalid_arg
in INVALID_TEST_CHANNEL_ARGS:
57 self.assertRaises(ValueError,
58 grpc.insecure_channel,
63 if __name__ ==
'__main__':
65 unittest.main(verbosity=2)