self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f6247de2c18>
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f6063b7d470>
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f60571c22e8>
def test_snapshot_add_many_incremental(self, swh_storage, sample_data):
snapshot, _, complete_snapshot = sample_data.snapshots[:3]
actual_result = swh_storage.snapshot_add([complete_snapshot])
assert actual_result == {"snapshot:add": 1}
actual_result2 = swh_storage.snapshot_add([snapshot, complete_snapshot])
> assert actual_result2 == {"snapshot:add": 1}
E AssertionError: assert {'snapshot:add': 2} == {'snapshot:add': 1}
E Differing items:
E {'snapshot:add': 2} != {'snapshot:add': 1}
E Full diff:
E - {'snapshot:add': 1}
E ? ^
E + {'snapshot:add': 2}
E ? ^
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:2969: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Apr 29 2021, 11:06 AM