chore: temporaeres QA-Seed-Skript 2 fuer Feature-Verifikation
This commit is contained in:
parent
ce90a2bd32
commit
56cf8ec4cc
|
|
@ -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 2', None, None, 1095, 1825, 480, 2880)
|
||||||
|
uid = db.create_user(tid, 'qa-verify2@example.com', generate_password_hash('QaVerify12345'), role='admin')
|
||||||
|
print('TENANT_ID=%s' % tid)
|
||||||
|
print('USER_ID=%s' % uid)
|
||||||
Loading…
Reference in New Issue