swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: c99ec11d3f7e65bb227f49c26798996caab26bde authored by Jenkins for Software Heritage on 25 March 2020, 09:03:41 UTC
New upstream version 0.0.181
Tip revision: c99ec11
test_in_memory.py
# Copyright (C) 2018-2020  The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information

import pytest

from swh.storage.tests.test_storage import (  # noqa
    TestStorage, TestStorageGeneratedData)


# tests are executed using imported classes (TestStorage and
# TestStorageGeneratedData) using overloaded swh_storage fixture
# below

@pytest.fixture
def swh_storage_backend_config():
    yield {
        'cls': 'memory',
        'journal_writer': {
            'cls': 'memory',
        },
    }
back to top