aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-11-30 20:20:32 -0800
committerGravatar Masood Malekghassemi <atash@google.com>2016-12-02 15:32:15 -0800
commit561dce452524bfa13032a84523972acb5fcb180d (patch)
tree64ba60ba2a22ca12dcab89a4656ba6114f453b6d /src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py
parent63f84be5d0252b039b5d9f84e716ab142051cc30 (diff)
Switch to command-arg for Python split-codegen
Almost fixes #8753 (which still needs a test).
Diffstat (limited to 'src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py')
-rw-r--r--src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py b/src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py
index 089366a8c7..64fd97256e 100644
--- a/src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py
+++ b/src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py
@@ -167,7 +167,7 @@ class SameSeparateTest(unittest.TestCase, SeparateTestMixin):
'',
'--proto_path={}'.format(self.proto_directory),
'--python_out={}'.format(self.python_out_directory),
- '--grpc_python_out={}'.format(self.grpc_python_out_directory),
+ '--grpc_python_out=grpc_2_0:{}'.format(self.grpc_python_out_directory),
same_proto_file,
])
if protoc_result != 0:
@@ -241,7 +241,7 @@ class SplitCommonTest(unittest.TestCase, CommonTestMixin):
'',
'--proto_path={}'.format(self.proto_directory),
'--python_out={}'.format(self.python_out_directory),
- '--grpc_python_out={}'.format(self.python_out_directory),
+ '--grpc_python_out={}'.format(self.grpc_python_out_directory),
services_proto_file,
messages_proto_file,
])
@@ -285,7 +285,7 @@ class SplitSeparateTest(unittest.TestCase, SeparateTestMixin):
'',
'--proto_path={}'.format(self.proto_directory),
'--python_out={}'.format(self.python_out_directory),
- '--grpc_python_out={}'.format(self.grpc_python_out_directory),
+ '--grpc_python_out=grpc_2_0:{}'.format(self.grpc_python_out_directory),
services_proto_file,
messages_proto_file,
])