Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_in_memory.py
# Copyright (C) 2018 The Software Heritage developers | # Copyright (C) 2018 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU General Public License version 3, or any later version | # License: GNU General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
import unittest | import unittest | ||||
import pytest | import pytest | ||||
from swh.storage.in_memory import Storage, ENABLE_ORIGIN_IDS | from swh.storage.in_memory import Storage, ENABLE_ORIGIN_IDS | ||||
from swh.storage.tests.test_storage import ( | from swh.storage.tests.test_storage import ( | ||||
TestStorage as _TestStorage, | TestStorage as _TestStorage, | ||||
TestStorageCommonProp as _TestStorageCommonProp) | TestStorageGeneratedData as _TestStorageCommonProp) | ||||
@pytest.mark.xfail | @pytest.mark.xfail | ||||
class TestInMemoryStorage(_TestStorage, unittest.TestCase): | class TestInMemoryStorage(_TestStorage, 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 | ||||
functionality between local and remote storage. All the tests are | functionality between local and remote storage. All the tests are | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |