From 4842e23e9cfdaa444ad0f675628be17385721ebd Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Thu, 30 Jan 2020 10:33:11 -0800 Subject: [PATCH] Make YAPF happy --- src/python/grpcio_tests/commands.py | 11 ++++++----- tools/run_tests/run_interop_tests.py | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/python/grpcio_tests/commands.py b/src/python/grpcio_tests/commands.py index 5ce5b476ffc..2a36f5c9d7e 100644 --- a/src/python/grpcio_tests/commands.py +++ b/src/python/grpcio_tests/commands.py @@ -233,11 +233,12 @@ class TestGevent(setuptools.Command): class RunInterop(test.test): description = 'run interop test client/server' - user_options = [('args=', 'a', 'pass-thru arguments for the client/server'), - ('client', 'c', 'flag indicating to run the client'), - ('server', 's', 'flag indicating to run the server'), - ('use_asyncio', 'i', 'flag indicating to run the asyncio stack') - ] + user_options = [ + ('args=', None, 'pass-thru arguments for the client/server'), + ('client', None, 'flag indicating to run the client'), + ('server', None, 'flag indicating to run the server'), + ('use_asyncio', None, 'flag indicating to run the asyncio stack') + ] def initialize_options(self): self.args = '' diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py index 3a944f14577..9989d4dab94 100755 --- a/tools/run_tests/run_interop_tests.py +++ b/tools/run_tests/run_interop_tests.py @@ -679,7 +679,8 @@ class PythonAsyncIOLanguage: def client_cmd(self, args): return [ 'py37_native/bin/python', 'src/python/grpcio_tests/setup.py', - 'run_interop', '--use_asyncio', '--client', '--args="{}"'.format(' '.join(args)) + 'run_interop', '--use_asyncio', '--client', + '--args="{}"'.format(' '.join(args)) ] def client_cmd_http2interop(self, args):