Make YAPF happy

pull/21714/head
Lidi Zheng 5 years ago
parent 3e2d5da7a2
commit 4842e23e9c
  1. 11
      src/python/grpcio_tests/commands.py
  2. 3
      tools/run_tests/run_interop_tests.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 = ''

@ -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):

Loading…
Cancel
Save