projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21217: Fix "Authorization: OAuth2 ..." test to actually test that.
[arvados.git]
/
sdk
/
cli
/
test
/
test_arv-ws.rb
diff --git
a/sdk/cli/test/test_arv-ws.rb
b/sdk/cli/test/test_arv-ws.rb
index d972122d82bd17a3abf6df3a660fd6e8b8aee19c..49aac8a640206532259acb577b9f8a4751be24b0 100644
(file)
--- a/
sdk/cli/test/test_arv-ws.rb
+++ b/
sdk/cli/test/test_arv-ws.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
require 'minitest/autorun'
class TestArvWs < Minitest::Test
require 'minitest/autorun'
class TestArvWs < Minitest::Test
@@
-5,14
+9,14
@@
class TestArvWs < Minitest::Test
end
def test_arv_ws_get_help
end
def test_arv_ws_get_help
-
out
, err = capture_subprocess_io do
+
_
, err = capture_subprocess_io do
system ('arv-ws -h')
end
assert_equal '', err
end
def test_arv_ws_such_option
system ('arv-ws -h')
end
assert_equal '', err
end
def test_arv_ws_such_option
-
out
, err = capture_subprocess_io do
+
_
, err = capture_subprocess_io do
system ('arv-ws --junk')
end
refute_equal '', err
system ('arv-ws --junk')
end
refute_equal '', err