self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7f001cae3ba8>
swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7f001cae3b00>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f003698a4a8>
def test_content_add_different_input(self, swh_storage, sample_data):
cont, cont2 = sample_data.contents[:2]
actual_result = swh_storage.content_add([cont, cont2])
> assert actual_result == {
"content:add": 2,
"content:add:bytes": cont.length + cont2.length,
}
E AssertionError: assert {'content:add:errors': 2} == {'content:add...add:bytes': 8}
E Left contains 1 more item:
E {'content:add:errors': 2}
E Right contains 2 more items:
E {'content:add': 2, 'content:add:bytes': 8}
E Full diff:
E - {'content:add': 2, 'content:add:bytes': 8}
E + {'content:add:errors': 2}
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:254: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 15 2021, 3:20 PM