Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/utils.py
Show All 28 Lines | from swh.model.model import ( | ||||
TargetType, | TargetType, | ||||
Timestamp, | Timestamp, | ||||
TimestampWithTimezone, | TimestampWithTimezone, | ||||
) | ) | ||||
from swh.storage.utils import now | from swh.storage.utils import now | ||||
BASE_TEST_CONFIG: Dict[str, Dict[str, Any]] = { | BASE_TEST_CONFIG: Dict[str, Dict[str, Any]] = { | ||||
"storage": {"cls": "memory"}, | "storage": {"cls": "memory"}, | ||||
"objstorage": {"cls": "memory", "args": {},}, | "objstorage": {"cls": "memory"}, | ||||
INDEXER_CFG_KEY: {"cls": "memory", "args": {},}, | INDEXER_CFG_KEY: {"cls": "memory"}, | ||||
} | } | ||||
ORIGINS = [ | ORIGINS = [ | ||||
Origin(url="https://github.com/SoftwareHeritage/swh-storage"), | Origin(url="https://github.com/SoftwareHeritage/swh-storage"), | ||||
Origin(url="rsync://ftp.gnu.org/gnu/3dldf"), | Origin(url="rsync://ftp.gnu.org/gnu/3dldf"), | ||||
Origin(url="https://forge.softwareheritage.org/source/jesuisgpl/"), | Origin(url="https://forge.softwareheritage.org/source/jesuisgpl/"), | ||||
Origin(url="https://pypi.org/project/limnoria/"), | Origin(url="https://pypi.org/project/limnoria/"), | ||||
▲ Show 20 Lines • Show All 673 Lines • Show Last 20 Lines |