Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_in_memory.py
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | if not _test_origin_ids: | ||||
def test_origin_metadata_get(self): | def test_origin_metadata_get(self): | ||||
pass | pass | ||||
@pytest.mark.skip('requires origin ids') | @pytest.mark.skip('requires origin ids') | ||||
def test_origin_metadata_get_by_provider_type(self): | def test_origin_metadata_get_by_provider_type(self): | ||||
pass | pass | ||||
def reset_storage(self): | def reset_storage(self): | ||||
self.storage = Storage(journal_writer={'cls': 'inmemory'}) | self.storage = Storage(journal_writer={'cls': 'memory'}) | ||||
self.journal_writer = self.storage.journal_writer | self.journal_writer = self.storage.journal_writer | ||||
@pytest.mark.property_based | @pytest.mark.property_based | ||||
class PropTestInMemoryStorage(CommonPropTestStorage, unittest.TestCase): | class PropTestInMemoryStorage(CommonPropTestStorage, unittest.TestCase): | ||||
"""Test the in-memory storage API | """Test the in-memory storage API | ||||
This class doesn't define any tests as we want identical | This class doesn't define any tests as we want identical | ||||
Show All 16 Lines |