17522: Exposes bug through test. Also fixes help message.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 14 Apr 2021 17:52:49 +0000 (14:52 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 14 Apr 2021 17:52:49 +0000 (14:52 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

sdk/python/arvados/commands/put.py
sdk/python/tests/test_arv_put.py

index 616a94e903eba20794ac589e696b5eb7c14f50aa..5a01a43df4e81a39288822d2ef58a23ea12944c1 100644 (file)
@@ -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',
index a8c4a853cf9f35f94ab04a191bc0188de723f2ad..6b670e512c911272f3b4feb6686bbe5395295439 100644 (file)
@@ -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):