self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7f0017e5ddd8>
swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7f0017e5d978>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f001c983c18>
def test_content_add_metadata_different_input(self, swh_storage, sample_data):
contents = sample_data.contents[:2]
cont = attr.evolve(contents[0], data=None, ctime=now())
cont2 = attr.evolve(contents[1], data=None, ctime=now())
actual_result = swh_storage.content_add_metadata([cont, cont2])
> assert actual_result == {
"content:add": 2,
}
E AssertionError: assert {'content:add:errors': 2} == {'content:add': 2}
E Left contains 1 more item:
E {'content:add:errors': 2}
E Right contains 1 more item:
E {'content:add': 2}
E Full diff:
E - {'content:add': 2}
E + {'content:add:errors': 2}...
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:357: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 15 2021, 3:20 PM