swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: f66184d9fd742794d10534d67f8c533c0d6d53bb authored by Antoine R. Dumont (@ardumont) on 14 April 2020, 16:05:03 UTC
storage.interface: Actually define the remote flush operation
Tip revision: f66184d
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 TestStorage, TestStorageGeneratedData  # noqa


# 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