diff options
author | 2016-03-31 17:56:29 -0700 | |
---|---|---|
committer | 2016-03-31 17:56:29 -0700 | |
commit | 1fe942f777cb2720de80d536dabd8d80c4d0aec2 (patch) | |
tree | ce904d9e4f83e9fb43f81da99ad6f2d9588e89b6 /src/python/grpcio/tests/unit/beta/_beta_features_test.py | |
parent | 4da87600dc8974f465acf286e155ff774bd96aa1 (diff) | |
parent | ce2a2d041dd473408bb3e11c49e39cb689f20495 (diff) |
Merge pull request #5700 from bluecmd/ssl-defaults
ssl_channel_credentials to use None by default
Diffstat (limited to 'src/python/grpcio/tests/unit/beta/_beta_features_test.py')
-rw-r--r-- | src/python/grpcio/tests/unit/beta/_beta_features_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/grpcio/tests/unit/beta/_beta_features_test.py b/src/python/grpcio/tests/unit/beta/_beta_features_test.py index 10877cd310..b8b77a96c1 100644 --- a/src/python/grpcio/tests/unit/beta/_beta_features_test.py +++ b/src/python/grpcio/tests/unit/beta/_beta_features_test.py @@ -1,4 +1,4 @@ -# Copyright 2015, Google Inc. +# Copyright 2015-2016, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -183,7 +183,7 @@ class BetaFeaturesTest(unittest.TestCase): port = self._server.add_secure_port('[::]:0', server_credentials) self._server.start() self._channel_credentials = implementations.ssl_channel_credentials( - resources.test_root_certificates(), None, None) + resources.test_root_certificates()) self._call_credentials = implementations.metadata_call_credentials( _metadata_plugin) channel = test_utilities.not_really_secure_channel( @@ -296,7 +296,7 @@ class ContextManagementAndLifecycleTest(unittest.TestCase): self._server_credentials = implementations.ssl_server_credentials( [(resources.private_key(), resources.certificate_chain(),),]) self._channel_credentials = implementations.ssl_channel_credentials( - resources.test_root_certificates(), None, None) + resources.test_root_certificates()) self._stub_options = implementations.stub_options( thread_pool_size=test_constants.POOL_SIZE) |