From 6221b17ba3f44dc1cba96512442f8685eb13def2 Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Tue, 24 Nov 2026 20:05:51 -0700 Subject: [PATCH] test(core): give the dl launch-context row its own output template --- tests/core/test_launch_context.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core/test_launch_context.py b/tests/core/test_launch_context.py index 87e8b59b..05cba0cc 100644 --- a/tests/core/test_launch_context.py +++ b/tests/core/test_launch_context.py @@ -27,6 +27,7 @@ def cli_dl(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> click.Context: from unshackle.commands import dl as dl_module monkeypatch.setattr(dl_module.config, "key_vaults", []) + monkeypatch.setattr(dl_module.config, "output_template", {"movies": "{title}"}) monkeypatch.setattr(dl_module.dl, "get_cdm", lambda self, *a, **k: None) monkeypatch.setattr(dl_module.Services, "get_path", staticmethod(lambda tag: tmp_path)) # dl.__init__ hangs its result callback on the shared click command