"""Automated quality gate verifying zero regular expression policy.""" import subprocess import sys def test_static_policy_verification_script_passes(): res = subprocess.run( [sys.executable, "tests/scripts/check_zero_regex.py"], capture_output=True, text=True ) assert res.returncode == 0, f"check_zero_regex.py failed: {res.stdout}\n{res.stderr}" assert "[PASS]" in res.stdout