aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/compiler
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2015-03-30 18:14:52 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2015-03-30 18:14:52 +0000
commitf492b16d48b48ec45adb8dfce41d0756afeb3e96 (patch)
tree61855b39ba2fc135f074e9f3cd9a87c74ba785a4 /test/compiler
parent675de61e4ba46f6910eab9051ea77ee73cdf8c28 (diff)
Unify early_adopter construction functions
It was awkward for the generated code to call an API that offered both insecure_server and secure_server as well as insecure_stub and secure_stub. With this change there is just a single server function and a single stub function and security is decided based on arguments passed.
Diffstat (limited to 'test/compiler')
-rw-r--r--test/compiler/python_plugin_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compiler/python_plugin_test.py b/test/compiler/python_plugin_test.py
index 3d2f117b0d..ad3bebac30 100644
--- a/test/compiler/python_plugin_test.py
+++ b/test/compiler/python_plugin_test.py
@@ -177,7 +177,7 @@ def _CreateService(test_pb2, delay):
servicer = Servicer()
server = getattr(
- test_pb2, SERVER_FACTORY_IDENTIFIER)(servicer, 0, None, None)
+ test_pb2, SERVER_FACTORY_IDENTIFIER)(servicer, 0)
with server:
port = server.port()
stub = getattr(test_pb2, STUB_FACTORY_IDENTIFIER)('localhost', port)