Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_api_client.TestStorageGeneratedData::test_generate_content_get_range
Failed

TEST RESULT

Run At
Aug 5 2020, 3:22 PM
Details
self = <swh.storage.tests.test_storage.TestStorageGeneratedData object at 0x7f6a254fa908> swh_storage = <RemoteStorage url=mock://example.com/> swh_contents = [SkippedContent(sha1=b'\x1frN\xc6\x94w\x8b<\x14\xa0\xcfT\xd0\xae\x00\xb3\xd6\x94\xf5D', sha1_git=b'\xeb\xad\xbc\xee\xd...\xa5', ctime=datetime.datetime(2032, 12, 10, 3, 18, 42, 56925, tzinfo=<DstTzInfo 'Asia/Beirut' EET+2:00:00 STD>)), ...] def test_generate_content_get_range(self, swh_storage, swh_contents): """content_get_range returns complete range""" present_contents = [c.to_dict() for c in swh_contents if c.status != "absent"] get_sha1s = sorted([c.sha1 for c in swh_contents if c.status != "absent"]) start = get_sha1s[2] end = get_sha1s[-2] > actual_result = swh_storage.content_get_range(start, end) E AttributeError: 'RemoteStorage' object has no attribute 'content_get_range' .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:3862: AttributeError