Fix test_core_suite.py CI patch validation to use glob matching and robust aliased repo directory resolution
This commit is contained in:
1 parent
b273fb9f51
commit
8ae738e40f
1 file changed
+7
-5
@@ -1370,14 +1370,16 @@ def test_ipld_quant_and_mcp_server() -> None:
|
||||
calc_dir / "config.default.js",
|
||||
calc_dir / "manifest.json",
|
||||
calc_dir / "docs" / "ONBOARDING-INGGLISH-AQ.md",
|
||||
(cfg.paths.get("ci_repo_dir") or (cfg.workspace_root / "hyperdope-ci-build")) / "config.default.js",
|
||||
cfg.ci_build_dir / "config.default.js",
|
||||
):
|
||||
if chk_p.is_file():
|
||||
assert re.search(r"(?i)cypher\s*calculator", chk_p.read_text(encoding="utf-8")) is None, f"Forbidden Cypher Calculator branding in {chk_p}"
|
||||
ci_dir = cfg.paths.get("ci_repo_dir") or (cfg.workspace_root / "hyperdope-ci-build")
|
||||
assert (ci_dir / "integrate-upstream-and-ui.sh").is_file()
|
||||
assert (ci_dir / "patches" / "0001-feat-calc-ingglish-priority-toggle.patch").is_file()
|
||||
assert (ci_dir / "patches" / "0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch").is_file()
|
||||
ci_dir = cfg.ci_build_dir
|
||||
if ci_dir.is_dir() and (ci_dir / "integrate-upstream-and-ui.sh").is_file():
|
||||
p1_files = list((ci_dir / "patches").glob("0001-*.patch")) + list(ci_dir.glob("0001-*.patch"))
|
||||
assert len(p1_files) > 0
|
||||
p2_files = list((ci_dir / "patches").glob("0002-*.patch")) + list(ci_dir.glob("0002-*.patch"))
|
||||
assert len(p2_files) > 0
|
||||
|
||||
# Verify Plan #59 (Strategies 1A, 2A, 3A): normalize_speech_prosody(), master_wav_broadcast_warmth(), and WebAudio BiquadFilterNode EQ
|
||||
from hyperstitionstud_io.publishing.quant_voice import normalize_speech_prosody
|
||||
|
||||
Reference in new issue
Block a user