brand: remove all poona references and standardize on XYZ Hospital
This commit is contained in:
@@ -33,10 +33,10 @@ def _make_xlsx_bytes(headers: list[str], rows: list[list[object]]) -> bytes:
|
||||
|
||||
|
||||
def test_import_template_download_and_rbac(client):
|
||||
bio_headers = _auth_headers(client, "bio@poona.demo")
|
||||
admin_headers = _auth_headers(client, "admin@poona.demo")
|
||||
bio_headers = _auth_headers(client, "bio@xyz.demo")
|
||||
admin_headers = _auth_headers(client, "admin@xyz.demo")
|
||||
|
||||
for email in ("dept@poona.demo", "coord@poona.demo", "mgmt@poona.demo"):
|
||||
for email in ("dept@xyz.demo", "coord@xyz.demo", "mgmt@xyz.demo"):
|
||||
h = _auth_headers(client, email)
|
||||
assert client.get("/api/assets/import-template", headers=h).status_code == 403
|
||||
assert (
|
||||
@@ -66,7 +66,7 @@ def test_import_template_download_and_rbac(client):
|
||||
|
||||
|
||||
def test_bulk_import_dry_run_validation_and_commit(client, db):
|
||||
bio_headers = _auth_headers(client, "bio@poona.demo")
|
||||
bio_headers = _auth_headers(client, "bio@xyz.demo")
|
||||
|
||||
# Read a valid sample from template so we match real seeded department/location/category
|
||||
tmpl_res = client.get("/api/assets/import-template", headers=bio_headers)
|
||||
|
||||
Reference in New Issue
Block a user