Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_tenacious.TestTenaciousStorage::test_content_add_from_lazy_content
Failed

TEST RESULT

Run At
Sep 15 2021, 3:20 PM
Details
self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7f0036cec588> swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7f0036cecdd8> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f003ba57f98> def test_content_add_from_lazy_content(self, swh_storage, sample_data): cont = sample_data.content lazy_content = LazyContent.from_dict(cont.to_dict()) insertion_start_time = now() actual_result = swh_storage.content_add([lazy_content]) insertion_end_time = now() > assert actual_result == { "content:add": 1, "content:add:bytes": cont.length, } E AssertionError: assert {'content:add:errors': 1} == {'content:add...add:bytes': 3} E Left contains 1 more item: E {'content:add:errors': 1} E Right contains 2 more items: E {'content:add': 1, 'content:add:bytes': 3} E Full diff: E - {'content:add': 1, 'content:add:bytes': 3} E + {'content:add:errors': 1} .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:208: AssertionError