brand: remove all poona references and standardize on XYZ Hospital
This commit is contained in:
@@ -33,11 +33,11 @@ def test_alert_check_dedupe_and_seed_notifications(db):
|
||||
|
||||
|
||||
def test_demo_clock_alert_run_and_admin_only_permission(client, db):
|
||||
admin_headers = _auth_headers(client, "admin@poona.demo")
|
||||
bio_headers = _auth_headers(client, "bio@poona.demo")
|
||||
dept_headers = _auth_headers(client, "dept@poona.demo")
|
||||
mgmt_headers = _auth_headers(client, "mgmt@poona.demo")
|
||||
coord_headers = _auth_headers(client, "coord@poona.demo")
|
||||
admin_headers = _auth_headers(client, "admin@xyz.demo")
|
||||
bio_headers = _auth_headers(client, "bio@xyz.demo")
|
||||
dept_headers = _auth_headers(client, "dept@xyz.demo")
|
||||
mgmt_headers = _auth_headers(client, "mgmt@xyz.demo")
|
||||
coord_headers = _auth_headers(client, "coord@xyz.demo")
|
||||
|
||||
# Non-admins get 403 on POST /api/alerts/run
|
||||
for h in (bio_headers, dept_headers, mgmt_headers, coord_headers):
|
||||
@@ -74,9 +74,9 @@ def test_demo_clock_alert_run_and_admin_only_permission(client, db):
|
||||
|
||||
|
||||
def test_per_user_read_state_and_department_scoping(client, db):
|
||||
admin_headers = _auth_headers(client, "admin@poona.demo")
|
||||
bio_headers = _auth_headers(client, "bio@poona.demo")
|
||||
dept_headers = _auth_headers(client, "dept@poona.demo")
|
||||
admin_headers = _auth_headers(client, "admin@xyz.demo")
|
||||
bio_headers = _auth_headers(client, "bio@xyz.demo")
|
||||
dept_headers = _auth_headers(client, "dept@xyz.demo")
|
||||
|
||||
admin_list_before = client.get("/api/notifications?limit=100", headers=admin_headers).json()
|
||||
bio_list_before = client.get("/api/notifications?limit=100", headers=bio_headers).json()
|
||||
@@ -118,8 +118,8 @@ def test_per_user_read_state_and_department_scoping(client, db):
|
||||
|
||||
|
||||
def test_dashboard_summary_role_scoping_and_charts(client, db):
|
||||
mgmt_headers = _auth_headers(client, "mgmt@poona.demo")
|
||||
dept_headers = _auth_headers(client, "dept@poona.demo")
|
||||
mgmt_headers = _auth_headers(client, "mgmt@xyz.demo")
|
||||
dept_headers = _auth_headers(client, "dept@xyz.demo")
|
||||
|
||||
icu = db.query(Department).filter(Department.code == "ICU").first()
|
||||
icu_asset_count = db.query(Asset).filter(Asset.department_id == icu.id).count()
|
||||
|
||||
Reference in New Issue
Block a user