generated from jric11/baseProject
Chat's updates for security, db and workflow
Security and workflow regressions / regression (push) Has been cancelled
Security and workflow regressions / regression (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user