[ARVADOS] updated: 1.1.4-321-g26d20f1

Git user git at public.curoverse.com
Thu Jun 7 08:04:32 EDT 2018


Summary of changes:
 sdk/python/tests/test_collections.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  26d20f13895fdf5c9224a7aca2b33625c511e73e (commit)
      from  4f0c3d501d19bed5915d5d188598d3a7f1dec7f8 (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 26d20f13895fdf5c9224a7aca2b33625c511e73e
Author: Fuad Muhic <fmuhic at capeannenterprises.com>
Date:   Thu Jun 7 11:39:46 2018 +0200

    Fix ciso8601 issue in collections tests.
    
    Arvados-DCO-1.1-Signed-off-by: Fuad Muhic <fmuhic at capeannenterprises.com>

diff --git a/sdk/python/tests/test_collections.py b/sdk/python/tests/test_collections.py
index b921cd7..722cc56 100644
--- a/sdk/python/tests/test_collections.py
+++ b/sdk/python/tests/test_collections.py
@@ -15,6 +15,7 @@ import re
 import sys
 import tempfile
 import datetime
+import ciso8601
 import time
 import unittest
 
@@ -812,8 +813,8 @@ class CollectionMethods(run_test_server.TestCaseWithServers):
     def test_get_trash_at(self):
         c = Collection()
         self.assertEqual(c.get_trash_at(), None)
-        c.save_new(trash_at=datetime.datetime(2111, 1, 1, 11, 11, 11, 111))
-        self.assertEqual(c.get_trash_at(), datetime.datetime(2111, 1, 1, 11, 11, 11, 111))
+        c.save_new(trash_at=datetime.datetime(2111, 1, 1, 11, 11, 11, 111111))
+        self.assertEqual(c.get_trash_at(), ciso8601.parse_datetime('2111-01-01T11:11:11.111111000Z'))
 
 
 class CollectionOpenModes(run_test_server.TestCaseWithServers):

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list