self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7f1358e7f240>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1404152b00>
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:2361: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Apr 21 2020, 2:18 PM