Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/conftest.py
| Show All 17 Lines | |||||
| from swh.indexer.storage.db import Db as IndexerDb | from swh.indexer.storage.db import Db as IndexerDb | ||||
| from swh.objstorage.factory import get_objstorage | from swh.objstorage.factory import get_objstorage | ||||
| from swh.storage import get_storage | from swh.storage import get_storage | ||||
| from .utils import fill_obj_storage, fill_storage | from .utils import fill_obj_storage, fill_storage | ||||
| TASK_NAMES: List[Tuple[str, str]] = [ | TASK_NAMES: List[Tuple[str, str]] = [ | ||||
| # (scheduler-task-type, task-class-test-name) | # (scheduler-task-type, task-class-test-name) | ||||
| ("index-revision-metadata", "revision_intrinsic_metadata"), | ("index-directory-metadata", "directory_intrinsic_metadata"), | ||||
| ("index-origin-metadata", "origin_intrinsic_metadata"), | ("index-origin-metadata", "origin_intrinsic_metadata"), | ||||
| ] | ] | ||||
| idx_postgresql_proc = factories.postgresql_proc( | idx_postgresql_proc = factories.postgresql_proc( | ||||
| dbname="indexer_storage", | dbname="indexer_storage", | ||||
| load=[ | load=[ | ||||
| partial( | partial( | ||||
| ▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines | |||||