[ARVADOS] updated: d677ef9c9b8dda9592be9e350c71e76058fc2c57

git at public.curoverse.com git at public.curoverse.com
Tue Nov 18 15:00:50 EST 2014


Summary of changes:
 sdk/cli/test/test_arv-collection-create.rb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

       via  d677ef9c9b8dda9592be9e350c71e76058fc2c57 (commit)
      from  4c138e32f5c8c565a2031017e26827d37688b037 (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 d677ef9c9b8dda9592be9e350c71e76058fc2c57
Author: radhika <radhika at curoverse.com>
Date:   Tue Nov 18 14:49:07 2014 -0500

    4156: update test to expect uuid instead of pdh

diff --git a/sdk/cli/test/test_arv-collection-create.rb b/sdk/cli/test/test_arv-collection-create.rb
index c513be0..d1f4a51 100644
--- a/sdk/cli/test/test_arv-collection-create.rb
+++ b/sdk/cli/test/test_arv-collection-create.rb
@@ -1,5 +1,6 @@
 require 'minitest/autorun'
 require 'digest/md5'
+require 'active_support/core_ext'
 
 class TestCollectionCreate < Minitest::Test
   def setup
@@ -13,7 +14,9 @@ class TestCollectionCreate < Minitest::Test
                    manifest_text: foo_manifest
                  }.to_json)
     end
-    assert_equal uuid+"\n", out
+
+    match = /^([0-9a-z]{5}-4zz18-[0-9a-z]{15})?$/.match(out)
+    assert_equal true, (match and match[1] and !match[1].nil?)
     assert_equal '', err
     $stderr.puts err
   end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list