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,11 @@
|
||||
import os
|
||||
import subprocess
|
||||
from application_harness import Application,ROOT
|
||||
|
||||
app=Application()
|
||||
try:
|
||||
env=os.environ.copy();env['HCR_TEST_URL']=app.base
|
||||
node=env.get('NODE_TEST_COMMAND','node')
|
||||
result=subprocess.run([node,'tests/browser.js'],cwd=ROOT,env=env)
|
||||
if result.returncode:raise SystemExit(result.returncode)
|
||||
finally:app.close()
|
||||
Reference in New Issue
Block a user