Skip to content

Commit

Permalink
Add default arguments to python interop client
Browse files Browse the repository at this point in the history
  • Loading branch information
ncteisen committed Nov 17, 2016
1 parent ed92f7b commit 91f24b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/python/grpcio_tests/tests/interop/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,21 @@
def _args():
parser = argparse.ArgumentParser()
parser.add_argument(
'--server_host', help='the host to which to connect', type=str)
'--server_host', help='the host to which to connect', type=str,
default="127.0.0.1")
parser.add_argument(
'--server_port', help='the port to which to connect', type=int)
parser.add_argument(
'--test_case', help='the test case to execute', type=str)
'--test_case', help='the test case to execute', type=str,
default="large_unary")
parser.add_argument(
'--use_tls', help='require a secure connection', default=False,
type=resources.parse_bool)
parser.add_argument(
'--use_test_ca', help='replace platform root CAs with ca.pem',
default=False, type=resources.parse_bool)
parser.add_argument(
'--server_host_override',
'--server_host_override', default="foo.test.google.fr",
help='the server host to which to claim to connect', type=str)
parser.add_argument('--oauth_scope', help='scope for OAuth tokens', type=str)
parser.add_argument(
Expand Down

0 comments on commit 91f24b9

Please sign in to comment.