Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 9 2020, 12:48 PM
Details
self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7f73702b64e0> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f7370290208> def test_snapshot_add_many_from_generator(self, swh_storage): def _snp_gen(): yield data.snapshot yield data.complete_snapshot actual_result = swh_storage.snapshot_add(_snp_gen()) assert actual_result == {"snapshot:add": 2} swh_storage.refresh_stat_counters() > assert swh_storage.stat_counters()["snapshot"] == 2 E assert 10 == 2 E +10 E -2 .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:2334: AssertionError