self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7fb96d2aa0f0>
swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7fb77ee82e80>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb7c6b450b8>
def test_directory_add_twice(self, swh_storage, sample_data):
directory = sample_data.directories[1]
actual_result = swh_storage.directory_add([directory])
> assert actual_result == {"directory:add": 1}
E AssertionError: assert {'directory:add:errors': 1} == {'directory:add': 1}
E Left contains 1 more item:
E {'directory:add:errors': 1}
E Right contains 1 more item:
E {'directory:add': 1}
E Full diff:
E - {'directory:add': 1}
E + {'directory: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:715: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Aug 26 2021, 11:17 AM