From fc27747c199dffc7a42a579bb446037f8d06b0e2 Mon Sep 17 00:00:00 2001 From: Fede Luzzi Date: Tue, 17 Nov 2026 18:19:51 -0300 Subject: [PATCH] feat(spec-05-auth-fallback-chain): worker (eng_flash_medium) implementation --- connpy/tests/test_auth_fallback_chain.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/connpy/tests/test_auth_fallback_chain.py b/connpy/tests/test_auth_fallback_chain.py index 333cc92..5eb1ed8 100644 --- a/connpy/tests/test_auth_fallback_chain.py +++ b/connpy/tests/test_auth_fallback_chain.py @@ -2927,6 +2927,12 @@ def test_context_regex_parity_case_cache_and_dirty_recovery(tmp_path: Path) -> N # case=False parity between ContextService and configfile cache filter assert ctx_svc.matches_active_context("prod-1") is True + ctx_svc.set_active_context("all") + assert Path(cfg.fzf_cachefile).read_text(encoding="utf-8").splitlines() == ["prod-1", "dev-1"] + ctx_svc.set_active_context("upper") + assert Path(cfg.fzf_cachefile).read_text(encoding="utf-8").splitlines() == ["prod-1"] + assert Path(cfg.folders_cachefile).read_text(encoding="utf-8").splitlines() == ["@ProdFolder"] + cfg._generate_nodes_cache(nodes=["prod-1", "dev-1"], folders=["@ProdFolder", "@Other"]) assert Path(cfg.fzf_cachefile).read_text(encoding="utf-8").splitlines() == ["prod-1"] assert Path(cfg.folders_cachefile).read_text(encoding="utf-8").splitlines() == ["@ProdFolder"]