brand: remove all poona references and standardize on XYZ Hospital

This commit is contained in:
Antigravity
2026-11-18 18:27:07 +05:30
parent 5740e9281c
commit d7ee2827db
61 changed files with 273 additions and 272 deletions
+9 -9
View File
@@ -168,8 +168,8 @@ def test_sqlite_migration_adds_cost_columns_to_old_db(tmp_path):
def test_department_user_never_receives_cost_fields(client):
dept_headers = _auth_headers(client, "dept@poona.demo")
admin_headers = _auth_headers(client, "admin@poona.demo")
dept_headers = _auth_headers(client, "dept@xyz.demo")
admin_headers = _auth_headers(client, "admin@xyz.demo")
# 1. /api/assets
res_assets = client.get("/api/assets?page_size=20", headers=dept_headers)
@@ -217,12 +217,12 @@ def test_department_user_never_receives_cost_fields(client):
def test_repair_cost_and_cost_editing_role_permissions(client, db):
bio_headers = _auth_headers(client, "bio@poona.demo")
coord_headers = _auth_headers(client, "coord@poona.demo")
dept_headers = _auth_headers(client, "dept@poona.demo")
mgmt_headers = _auth_headers(client, "mgmt@poona.demo")
bio_headers = _auth_headers(client, "bio@xyz.demo")
coord_headers = _auth_headers(client, "coord@xyz.demo")
dept_headers = _auth_headers(client, "dept@xyz.demo")
mgmt_headers = _auth_headers(client, "mgmt@xyz.demo")
# Find an ICU complaint visible to dept@poona.demo
# Find an ICU complaint visible to dept@xyz.demo
comp = (
db.query(Complaint)
.join(Asset, Complaint.asset_id == Asset.id)
@@ -279,7 +279,7 @@ def test_repair_cost_and_cost_editing_role_permissions(client, db):
def test_new_ai_cost_settings_present_and_validated(client):
admin_headers = _auth_headers(client, "admin@poona.demo")
admin_headers = _auth_headers(client, "admin@xyz.demo")
res = client.get("/api/settings", headers=admin_headers)
assert res.status_code == 200
by_key = {item["key"]: item for item in res.json()["items"]}
@@ -389,7 +389,7 @@ def test_seed_data_meets_cost_and_ai_prerequisites(db):
def test_asset_and_contract_bulk_import_cost_columns(client, db):
admin_headers = _auth_headers(client, "admin@poona.demo")
admin_headers = _auth_headers(client, "admin@xyz.demo")
cat = db.query(Category).first()
vendor = db.query(Vendor).filter(Vendor.is_active.is_(True)).first()