16 lines
365 B
Python
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)
|