Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_storage.py
Show First 20 Lines • Show All 3,984 Lines • ▼ Show 20 Lines | def test_skipped_content_add_db(self, swh_storage): | ||||
cont2["sha1"], | cont2["sha1"], | ||||
cont2["sha1_git"], | cont2["sha1_git"], | ||||
cont2["sha256"], | cont2["sha256"], | ||||
cont2["blake2s256"], | cont2["blake2s256"], | ||||
cont2["length"], | cont2["length"], | ||||
"absent", | "absent", | ||||
"Content too long", | "Content too long", | ||||
) | ) | ||||
def test_clear_buffers(self, swh_storage): | |||||
"""Calling clear buffers on real storage does nothing | |||||
""" | |||||
assert swh_storage.clear_buffers() is None |