Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Apr 21 2020, 12:34 PM
Details
self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7fda91e78b38> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7fda905080f0> def test_content_add_from_generator(self, swh_storage): def _cnt_gen(): yield data.cont actual_result = swh_storage.content_add(_cnt_gen()) assert actual_result == { "content:add": 1, "content:add:bytes": data.cont["length"], } swh_storage.refresh_stat_counters() > assert swh_storage.stat_counters()["content"] == 1 E assert 3 == 1 E +3 E -1 .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:200: AssertionError