swh_storage_backend_config = {'cls': 'local', 'db': 'postgresql://postgres@127.0.0.1:20113/tests', 'journal_writer': {'cls': 'memory'}, 'objstorage': {'args': {}, 'cls': 'memory'}}
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f5b2e64afd0>
def test_revision_extra_header_in_metadata(swh_storage_backend_config, sample_data):
storage = get_storage(**swh_storage_backend_config)
> rev = sample_data["revision"][0]
E TypeError: 'StorageData' object is not subscriptable
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_revision_bw_compat.py:20: TypeError
TEST RESULT
TEST RESULT
- Run At
- Jul 22 2020, 9:22 AM