Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Sep 15 2021, 3:20 PM
Details
self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7f001a8ec358> swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7f001a8ec860> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f001dbb6278> def test_content_add_metadata(self, swh_storage, sample_data): cont = attr.evolve(sample_data.content, data=None, ctime=now()) actual_result = swh_storage.content_add_metadata([cont]) > assert actual_result == { "content:add": 1, } E AssertionError: assert {'content:add:errors': 1} == {'content:add': 1} E Left contains 1 more item: E {'content:add:errors': 1} E Right contains 1 more item: E {'content:add': 1} E Full diff: E - {'content:add': 1} E + {'content:add:errors': 1}... E E ...Full output truncated (2 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:335: AssertionError