[ARVADOS] updated: 1.3.0-1757-g9c54a12f8
Git user
git at public.curoverse.com
Fri Oct 18 18:48:17 UTC 2019
Summary of changes:
sdk/python/tests/test_arvfile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 9c54a12f8c73e74c33d33718f164d4b2e4c523e7 (commit)
from 1aed7b29d3d0b86eda47fc290943fc002a8e64c7 (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 9c54a12f8c73e74c33d33718f164d4b2e4c523e7
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Fri Oct 18 14:47:36 2019 -0400
15680: Update mockkeep.put to accept num_retries arg.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/sdk/python/tests/test_arvfile.py b/sdk/python/tests/test_arvfile.py
index a760255dd..086fa542a 100644
--- a/sdk/python/tests/test_arvfile.py
+++ b/sdk/python/tests/test_arvfile.py
@@ -865,7 +865,7 @@ class BlockManagerTest(unittest.TestCase):
def test_bufferblock_commit_pending(self):
# Test for bug #7225
mockkeep = mock.MagicMock()
- mockkeep.put.side_effect = lambda x: time.sleep(1)
+ mockkeep.put.side_effect = lambda *args, **kwargs: time.sleep(1)
with arvados.arvfile._BlockManager(mockkeep) as blockmanager:
bufferblock = blockmanager.alloc_bufferblock()
bufferblock.append("foo")
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list