aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/tests/unit/beta/test_utilities.py
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2016-06-18 02:03:44 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2016-06-18 02:03:44 +0000
commit6efe7c7ecf790cb53cc59c79257184beba3cbbda (patch)
treea12286b8a04abebb9b2befbdc68cf6083a531f5a /src/python/grpcio/tests/unit/beta/test_utilities.py
parentfa1433a4b6b0d6bbe817b4ab5f51f6167ecd837a (diff)
Fix secure channel construction
Diffstat (limited to 'src/python/grpcio/tests/unit/beta/test_utilities.py')
-rw-r--r--src/python/grpcio/tests/unit/beta/test_utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/tests/unit/beta/test_utilities.py b/src/python/grpcio/tests/unit/beta/test_utilities.py
index e374b203ce..8ccad04e05 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, channel_credentials._credentials,
+ target, channel_credentials,
((b'grpc.ssl_target_name_override', server_host_override,),))
return implementations.Channel(channel)