chore: temporaeres QA-Seed-Skript 3
This commit is contained in:
parent
fc08649626
commit
a711ab6bd6
|
|
@ -0,0 +1,9 @@
|
|||
import sys
|
||||
sys.path.insert(0, '/app')
|
||||
import db
|
||||
from werkzeug.security import generate_password_hash
|
||||
|
||||
tid = db.create_tenant('QA Verifikation Tenant 3', None, None, 1095, 1825, 480, 2880)
|
||||
uid = db.create_user(tid, 'qa-verify3@example.com', generate_password_hash('QaVerify12345'), role='admin')
|
||||
print('TENANT_ID=%s' % tid)
|
||||
print('USER_ID=%s' % uid)
|
||||
Loading…
Reference in New Issue