Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_cassandra.TestCassandraStorage::test_snapshot_add_many
Failed

TEST RESULT

Run At
Apr 9 2020, 12:48 PM
Details
self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7f73907cc048> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f73704389b0> def test_snapshot_add_many(self, swh_storage): actual_result = swh_storage.snapshot_add( [data.snapshot, data.complete_snapshot] ) assert actual_result == {"snapshot:add": 2} assert { **data.complete_snapshot, "next_branch": None, } == swh_storage.snapshot_get(data.complete_snapshot["id"]) assert {**data.snapshot, "next_branch": None} == swh_storage.snapshot_get( data.snapshot["id"] ) swh_storage.refresh_stat_counters() > assert swh_storage.stat_counters()["snapshot"] == 2 E assert 8 == 2 E +8 E -2 .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:2323: AssertionError