aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/tests/unit/beta
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2016-06-13 09:27:40 -0700
committerGravatar Ken Payson <kpayson@google.com>2016-06-13 15:08:57 -0700
commitf24665fdd8a69927c482902d9780e953f5a37a04 (patch)
tree58514ebf1ca68162db14d947ceacc74755e3b461 /src/python/grpcio/tests/unit/beta
parent68e5ecbee4882a74b16a6e22d935d68798016804 (diff)
Fix create_[secure/insecure]_channel argument order
Diffstat (limited to 'src/python/grpcio/tests/unit/beta')
-rw-r--r--src/python/grpcio/tests/unit/beta/test_utilities.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio/tests/unit/beta/test_utilities.py b/src/python/grpcio/tests/unit/beta/test_utilities.py
index 66b5f72897..e374b203ce 100644
--- a/src/python/grpcio/tests/unit/beta/test_utilities.py
+++ b/src/python/grpcio/tests/unit/beta/test_utilities.py
@@ -50,6 +50,6 @@ def not_really_secure_channel(
"""
target = '%s:%d' % (host, port)
channel = grpc.secure_channel(
- target, ((b'grpc.ssl_target_name_override', server_host_override,),),
- channel_credentials._credentials)
+ target, channel_credentials._credentials,
+ ((b'grpc.ssl_target_name_override', server_host_override,),))
return implementations.Channel(channel)