Newer
Older
# http constants
URL_MIRROR_JSON = "http://repo.manjaro.org/mirrors.json"
URL_STATUS_JSON = "http://repo.manjaro.org/status.json"
# etc
CONFIG_FILE = "tests/mock/etc/pacman-mirrors.conf"
MIRROR_LIST = "tests/mock/etc/mirrorlist"
# pacman-mirrors
MIRROR_FILE = "tests/mock/usr/mirrors.json"
# repo constants
BRANCHES = ("stable", "testing", "unstable")
REPO_ARCH = "/$repo/$arch"
# special cases
O_CUST_FILE = "tests/mock/var/Custom"
TO_BE_REMOVED = "tests/mock/var/mirrors.json"
test_conf = {
"to_be_removed": TO_BE_REMOVED,
"branch": "stable",
"branches": BRANCHES,
"config_file": CONFIG_FILE,
"custom_file": CUSTOM_FILE,
"method": "rank",
"mirror_file": MIRROR_FILE,
"mirror_list": MIRROR_LIST,
"no_update": False,
"only_country": [],
"protocols": [],
"repo_arch": REPO_ARCH,
"status_file": STATUS_FILE,
"ssl_verify": True,
"url_mirrors_json": URL_MIRROR_JSON,
"url_status_json": URL_STATUS_JSON
}