self = <swh.storage.tests.test_cassandra.TestCassandraStorageGeneratedData object at 0x7f685b953668>
swh_storage = <swh.storage.cassandra.storage.CassandraStorage object at 0x7f6859fc8c50>
swh_contents = [Content(sha1=b"\xb2c\xf2_>'q\xbaU\xdb\xd6\x89\x0f\x8b\x1by\x83\x8dy\xbd", sha1_git=b'\xdd\x0e,\xf4-\xc6>\xfe\t5\x9f\x...etime.datetime(2034, 1, 29, 22, 4, 45, 515134, tzinfo=<DstTzInfo 'America/Porto_Velho' -04-1 day, 20: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: 'CassandraStorage' object has no attribute 'content_get_range'
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:3862: AttributeError
TEST RESULT
TEST RESULT
- Run At
- Aug 5 2020, 3:22 PM