aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/tests/unit
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-06-14 13:32:10 -0700
committerGravatar GitHub <noreply@github.com>2016-06-14 13:32:10 -0700
commit8857adc742a308ffa450015ae931e083f62d3ceb (patch)
treeff8673b3781ef5c1023564e9ea64dbbba89da51f /src/python/grpcio/tests/unit
parente697b7dbc6ad97e570334fecd2dd1cccaa83aa1a (diff)
parentf24665fdd8a69927c482902d9780e953f5a37a04 (diff)
Merge pull request #6881 from kpayson64/python_create_channel_bug
Fix create_[secure/insecure]_channel argument order
Diffstat (limited to 'src/python/grpcio/tests/unit')
-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)