[ARVADOS] updated: 01436e8b76300759ef4bfea30d7798445d50bf60

git at public.curoverse.com git at public.curoverse.com
Tue May 6 10:48:06 EDT 2014


Summary of changes:
 sdk/cli/test/test_arv-run-pipeline-instance.rb |   33 ++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 sdk/cli/test/test_arv-run-pipeline-instance.rb

       via  01436e8b76300759ef4bfea30d7798445d50bf60 (commit)
      from  eee2c981d6a29eb7f15b8957570bbf8515d3d947 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 01436e8b76300759ef4bfea30d7798445d50bf60
Author: radhika <radhika at curoverse.com>
Date:   Tue May 6 10:47:06 2014 -0400

    2352: initial tests for arv-run-pipeline-instance

diff --git a/sdk/cli/test/test_arv-run-pipeline-instance.rb b/sdk/cli/test/test_arv-run-pipeline-instance.rb
new file mode 100644
index 0000000..cac89b3
--- /dev/null
+++ b/sdk/cli/test/test_arv-run-pipeline-instance.rb
@@ -0,0 +1,33 @@
+require 'minitest/autorun'
+
+class TestRunPipelineInstance < Minitest::Test
+  def setup
+  end
+
+  def test_run_pipeline_instance_get_help
+    out, err = capture_subprocess_io do
+      system ('arv-run-pipeline-instance -h')
+    end
+    assert_equal '', err
+  end
+
+  def test_run_pipeline_instance_with_no_such_option
+    out, err = capture_subprocess_io do
+      system ('arv-run-pipeline-instance --junk')
+    end
+    refute_equal '', err
+  end
+
+  def test_run_pipeline_instance_for_bogus_template_uuid
+    out, err = capture_subprocess_io do
+      # fails with error SSL_connect error because HOST_INSECURE is not being used
+    	  # system ('arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')
+
+      # fails with error: fatal: cannot load such file -- arvados
+    	  # system ('./bin/arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')
+    end
+    #refute_equal '', err
+    assert_equal '', err
+  end
+
+end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list