[arvados] updated: 2.1.0-3166-g2e6889393
git repository hosting
git at public.arvados.org
Wed Dec 7 20:23:20 UTC 2022
Summary of changes:
sdk/python/tests/test_arv_put.py | 1 +
1 file changed, 1 insertion(+)
via 2e6889393a8d3a09d5a523d4e1a6012544017031 (commit)
from 897610c897f37142d4fddcccd87d6877d62177ee (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 2e6889393a8d3a09d5a523d4e1a6012544017031
Author: Brett Smith <brett.smith at curii.com>
Date: Wed Dec 7 15:21:43 2022 -0500
19686: Fix test scaffolding after API changes
Without clearing arv-put's API client this way, multiple calls to main()
reuse the same, pre-patch Keep object from ThreadSafeApiCache, so calls
don't get recorded as intended.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>
diff --git a/sdk/python/tests/test_arv_put.py b/sdk/python/tests/test_arv_put.py
index 0e531dee3..afdf2238a 100644
--- a/sdk/python/tests/test_arv_put.py
+++ b/sdk/python/tests/test_arv_put.py
@@ -813,6 +813,7 @@ class ArvadosPutTest(run_test_server.TestCaseWithServers,
def test_put_block_replication(self):
self.call_main_on_test_file()
+ arv_put.api_client = None
with mock.patch('arvados.collection.KeepClient.local_store_put') as put_mock:
put_mock.return_value = 'acbd18db4cc2f85cedef654fccc4a4d8+3'
self.call_main_on_test_file(['--replication', '1'])
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list