Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.algos.test_origin::test_origin_get_latest_visit_status_filter_type
Failed

TEST RESULT

Run At
Jul 22 2020, 9:22 AM
Details
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f5a78213a58> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f5b2e64afd0> def test_origin_get_latest_visit_status_filter_type(swh_storage, sample_data): """Filtering origin visit per types should yield consistent results """ > objects = init_storage_with_origin_visits(swh_storage, sample_data) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_origin.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7f5a78213a58> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f5b2e64afd0> def init_storage_with_origin_visits(swh_storage, sample_data): """Initialize storage with origin/origin-visit/origin-visit-status """ > snapshot = sample_data["snapshot"][2] E TypeError: 'StorageData' object is not subscriptable .tox/py3/lib/python3.7/site-packages/swh/storage/tests/algos/test_origin.py:121: TypeError