Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/storage/conftest.py
# Copyright (C) 2015-2019 The Software Heritage developers | # Copyright (C) 2015-2019 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 | ||||
from os.path import join | from os.path import join | ||||
import pytest | import pytest | ||||
from . import SQL_DIR | from . import SQL_DIR | ||||
from swh.storage.tests.conftest import postgresql_fact | from swh.storage.pytest_plugin import postgresql_fact | ||||
from swh.indexer.storage import get_indexer_storage | from swh.indexer.storage import get_indexer_storage | ||||
from swh.model.hashutil import hash_to_bytes | from swh.model.hashutil import hash_to_bytes | ||||
from .generate_data_test import MIMETYPE_OBJECTS, FOSSOLOGY_LICENSES, TOOLS | from .generate_data_test import MIMETYPE_OBJECTS, FOSSOLOGY_LICENSES, TOOLS | ||||
DUMP_FILES = join(SQL_DIR, "*.sql") | DUMP_FILES = join(SQL_DIR, "*.sql") | ||||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |