Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_in_memory.TestInMemoryStorage::test_snapshot_add_many_incremental
Failed

TEST RESULT

Run At
Apr 29 2021, 11:01 AM
Details
self = <swh.storage.tests.test_in_memory.TestInMemoryStorage object at 0x7f513025b518> swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f50958f6cf8> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f509488bc88> 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