generated from jric11/baseProject
ChatGPT's update to harden software and run db updates.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import json,os,subprocess
|
||||
from application_harness import Application,ROOT
|
||||
app=Application()
|
||||
try:
|
||||
env=app.env.copy();env['HCR_TEST_URL']=app.base;ids=app.fixture('tenantSeed');env['HCR_TENANT_IDS']=json.dumps(ids)
|
||||
app.fixture('memberSummarySeed',str(ids['clubA']),str(ids['clubB']),str(ids['clubA_membera']),str(ids['clubA_shared']),str(ids['clubB_shared']))
|
||||
subprocess.run([env.get('NODE_TEST_COMMAND','node'),'tests/tenants_browser.js'],cwd=ROOT,env=env,check=True)
|
||||
finally:app.close()
|
||||
Reference in New Issue
Block a user