Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Sep 15 2021, 3:20 PM
Details
self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7f0036b4db00> swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7f0036a562e8> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f0036a567b8> def test_content_add_twice(self, swh_storage, sample_data): cont, cont2 = sample_data.contents[:2] actual_result = swh_storage.content_add([cont]) > 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:263: AssertionError