4084: Merge branch 'master' into 4084-log-pane-refresh-TC
[arvados.git] / sdk / python / tests / test_keep_client.py
index b12ae77fe47da507d843f1f276478cc1681b3981..d07d6e1044f56eafc8b869ee343e3ad994656f85 100644 (file)
@@ -66,6 +66,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 = {}