From 630a637ba6ad02bd8f3975708ebd3498b2828bc7 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 14 Apr 2021 14:52:49 -0300 Subject: [PATCH] 17522: Exposes bug through test. Also fixes help message. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- sdk/python/arvados/commands/put.py | 3 +-- sdk/python/tests/test_arv_put.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py index 616a94e903..5a01a43df4 100644 --- a/sdk/python/arvados/commands/put.py +++ b/sdk/python/arvados/commands/put.py @@ -77,8 +77,7 @@ Synonym for --stream. _group.add_argument('--stream', action='store_true', help=""" Store the file content and display the resulting manifest on -stdout. Do not write the manifest to Keep or save a Collection object -in Arvados. +stdout. Do not save a Collection object in Arvados. """) _group.add_argument('--as-manifest', action='store_true', dest='manifest', diff --git a/sdk/python/tests/test_arv_put.py b/sdk/python/tests/test_arv_put.py index a8c4a853cf..6b670e512c 100644 --- a/sdk/python/tests/test_arv_put.py +++ b/sdk/python/tests/test_arv_put.py @@ -912,7 +912,7 @@ class ArvPutIntegrationTest(run_test_server.TestCaseWithServers, [sys.executable, arv_put.__file__, '--stream'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=self.ENVIRON) - pipe.stdin.write(b'stdin test\n') + pipe.stdin.write(b'stdin test\xa6\n') pipe.stdin.close() deadline = time.time() + 5 while (pipe.poll() is None) and (time.time() < deadline): -- 2.30.2