Files
huntingclubroster/tests/production_runner.py
jric11 1e63076123
Security and workflow regressions / regression (push) Has been cancelled
Chat's updates for security, db and workflow
2026-10-20 06:45:30 -04:00

10 lines
407 B
Python

import subprocess
from application_harness import Application,PHP,ROOT
app=Application()
try:
result=subprocess.run(PHP+['tests/production_security.php'],cwd=ROOT,env=app.env)
if result.returncode:raise SystemExit(result.returncode)
result=subprocess.run(PHP+['tests/runtime_privileges.php'],cwd=ROOT,env=app.env)
if result.returncode:raise SystemExit(result.returncode)
finally:app.close()