Files
awoooi/apps/api/tests/test_awooop_controlled_automation_copy_guard.py
Your Name 219fc3835c
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
CD Pipeline / tests (push) Successful in 5m14s
CD Pipeline / build-and-deploy (push) Failing after 1m48s
CD Pipeline / post-deploy-checks (push) Has been skipped
test(awooop): guard controlled automation copy
2026-06-27 22:39:01 +08:00

16 lines
365 B
Python

from __future__ import annotations
import runpy
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
def test_awooop_controlled_automation_copy_guard_blocks_legacy_manual_gate_text() -> None:
guard = runpy.run_path(
str(ROOT / "scripts" / "security" / "awooop-controlled-automation-copy-guard.py")
)
guard["validate"](ROOT)