Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_storage.py
Show First 20 Lines • Show All 3,990 Lines • ▼ Show 20 Lines | def test_skipped_content_add_db(self, swh_storage): | ||||
"Content too long", | "Content too long", | ||||
) | ) | ||||
def test_clear_buffers(self, swh_storage): | def test_clear_buffers(self, swh_storage): | ||||
"""Calling clear buffers on real storage does nothing | """Calling clear buffers on real storage does nothing | ||||
""" | """ | ||||
assert swh_storage.clear_buffers() is None | assert swh_storage.clear_buffers() is None | ||||
def test_flush(self, swh_storage): | |||||
"""Calling clear buffers on real storage does nothing | |||||
""" | |||||
assert swh_storage.flush() == {} |