This commit is contained in:
2026-05-13 23:02:47 +03:00
parent d0f8315cf1
commit 78f95bc88e
49 changed files with 2747 additions and 987 deletions

View File

@@ -12,6 +12,7 @@ def test_load_config_missing_path(tmp_path):
assert isinstance(cfg, AppConfig)
assert cfg.dotfiles_url == ""
assert cfg.container_registry == "registry.tomastm.com"
assert cfg.container_runtime == "auto"
def test_load_config_from_yaml(tmp_path):
@@ -131,3 +132,12 @@ def test_load_manifest_merges_local_and_overlay(tmp_path):
data = load_manifest(local, overlay)
assert "profiles" in data
assert "packages" in data
def test_load_config_container_runtime(tmp_path):
(tmp_path / "config.yaml").write_text(
"defaults:\n"
" container-runtime: podman-rootful\n"
)
cfg = load_config(tmp_path)
assert cfg.container_runtime == "podman-rootful"