[ARVADOS] updated: ff04973bb7508493a9cdc29a50d36c9c4a50936d

git at public.curoverse.com git at public.curoverse.com
Tue Mar 17 11:14:55 EDT 2015


Summary of changes:
 sdk/python/arvados/keep.py                   | 31 +++++++++++++++++++---------
 services/api/test/unit/arvados_model_test.rb |  8 +++----
 2 files changed, 25 insertions(+), 14 deletions(-)

       via  ff04973bb7508493a9cdc29a50d36c9c4a50936d (commit)
       via  29dd43933769bf47d0018d967037bc31b679dfd9 (commit)
       via  d8abf0b06cc38a1e1030e04966d0cb616eae8c2e (commit)
       via  c190374af4e3f48c57eae2a63cc7867674716ad0 (commit)
       via  471dd5bfde6b7218b72bedff6d92c6150af059e6 (commit)
       via  f78b9c586f9ffa9846d68d35a10396261691da41 (commit)
      from  8efc8d844b03a0cb41955eaf0ab18ce53565bbd8 (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 ff04973bb7508493a9cdc29a50d36c9c4a50936d
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Tue Mar 17 10:57:28 2015 -0400

    5383: minor test assertion updates

diff --git a/services/api/test/unit/arvados_model_test.rb b/services/api/test/unit/arvados_model_test.rb
index b569d33..d82a8f7 100644
--- a/services/api/test/unit/arvados_model_test.rb
+++ b/services/api/test/unit/arvados_model_test.rb
@@ -185,14 +185,14 @@ class ArvadosModelTest < ActiveSupport::TestCase
 
     # update 1
     group.update_attributes!(name: "test create and update name 1")
-    results = Group.where(name: "test create and update name 1")
-    assert_equal group.uuid, results.first.uuid, "Expected group uuid in results"
+    results = Group.where(uuid: group.uuid)
+    assert_equal "test create and update name 1", results.first.name, "Expected name to be updated to 1"
     updated_at_1 = results.first.updated_at.to_f
 
     # update 2
     group.update_attributes!(name: "test create and update name 2")
-    results = Group.where(name: "test create and update name 2")
-    assert_equal group.uuid, results.first.uuid, "Expected group uuid in results"
+    results = Group.where(uuid: group.uuid)
+    assert_equal "test create and update name 2", results.first.name, "Expected name to be updated to 2"
     updated_at_2 = results.first.updated_at.to_f
 
     assert_equal true, (updated_at_2 > updated_at_1), "Expected updated time 2 to be newer than 1"

commit 29dd43933769bf47d0018d967037bc31b679dfd9
Merge: 8efc8d8 d8abf0b
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Tue Mar 17 10:53:47 2015 -0400

    Merge branch 'master' into 5383-api-db-current-time


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


hooks/post-receive
-- 




More information about the arvados-commits mailing list