swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: 7e94767a51a743325e1151ff878b6e3b78622ef7 authored by Antoine R. Dumont (@ardumont) on 23 July 2020, 15:47:04 UTC
storage*: origin_get(Iterable[str]) -> Iterable[Optional[Origin]]
Tip revision: 7e94767
test_pytest_plugin.py
# Copyright (C) 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

from swh.storage.interface import StorageInterface
from swh.storage.tests.storage_data import StorageData


def test_sample_data(sample_data):
    assert isinstance(sample_data, StorageData)


def test_swh_storage(swh_storage: StorageInterface):
    assert isinstance(swh_storage, StorageInterface) is not None


def test_swh_storage_backend_config(swh_storage_backend_config):
    assert isinstance(swh_storage_backend_config, dict)
back to top