latest.ipv8.test.dht.test_storage

Module Contents

Classes

TestStorage

Tests related to Storage objects.

class latest.ipv8.test.dht.test_storage.TestStorage(methodName: str = 'runTest')

Bases: latest.ipv8.test.base.TestBase

Tests related to Storage objects.

test_get_and_put() None

Check that unique values can be added to a storage key.

test_items_older_than() None

Check that inserted values can be filtered based on their age.

test_clean() None

Check that expired values are removed when cleaning a storage.