[ARVADOS] updated: 6f793d4da23db743b1833c43ccdc006b9bfe7468
git at public.curoverse.com
git at public.curoverse.com
Mon Sep 8 13:49:25 EDT 2014
Summary of changes:
sdk/python/tests/test_keep_client.py | 7 +++++++
1 file changed, 7 insertions(+)
via 6f793d4da23db743b1833c43ccdc006b9bfe7468 (commit)
from d613d109dd067be0161380b0c911204e6b47312b (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 6f793d4da23db743b1833c43ccdc006b9bfe7468
Author: Tim Pierce <twp at curoverse.com>
Date: Mon Sep 8 13:48:50 2014 -0400
3699: test storing the empty collection (edge case)
diff --git a/sdk/python/tests/test_keep_client.py b/sdk/python/tests/test_keep_client.py
index 4ac9df1..2954310 100644
--- a/sdk/python/tests/test_keep_client.py
+++ b/sdk/python/tests/test_keep_client.py
@@ -64,6 +64,13 @@ class KeepTestCase(run_test_server.TestCaseWithServers):
blob_str,
'wrong content from Keep.get(md5(<binarydata>))')
+ def test_KeepEmptyCollectionTest(self):
+ blob_locator = self.keep_client.put('', copies=1)
+ self.assertRegexpMatches(
+ blob_locator,
+ '^d41d8cd98f00b204e9800998ecf8427e\+0',
+ ('wrong locator from Keep.put(""): ' + blob_locator))
+
class KeepPermissionTestCase(run_test_server.TestCaseWithServers):
MAIN_SERVER = {}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list