self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7f14840d8978>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1484742fd0>
def test_revision_add_from_generator(self, swh_storage):
def _rev_gen():
yield data.revision
actual_result = swh_storage.revision_add(_rev_gen())
assert actual_result == {"revision:add": 1}
swh_storage.refresh_stat_counters()
> assert swh_storage.stat_counters()["revision"] == 1
E assert 2 == 1
E +2
E -1
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:945: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Apr 21 2020, 2:18 PM