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
+7 -7
View File
@@ -21,7 +21,7 @@ def _auth_headers(client, email: str) -> dict[str, str]:
def test_pm_record_attachment_upload_and_download(client, db):
bio_headers = _auth_headers(client, "bio@poona.demo")
bio_headers = _auth_headers(client, "bio@xyz.demo")
pm_rec = db.query(PMRecord).first()
assert pm_rec is not None
@@ -52,7 +52,7 @@ def test_pm_record_attachment_upload_and_download(client, db):
def test_complaint_assigned_team_and_location_filter(client, db):
bio_headers = _auth_headers(client, "bio@poona.demo")
bio_headers = _auth_headers(client, "bio@xyz.demo")
asset = db.query(Asset).filter(Asset.location_id.isnot(None)).first()
assert asset is not None
@@ -92,7 +92,7 @@ def test_complaint_assigned_team_and_location_filter(client, db):
def test_demo_equipment_serial_no(client, db):
bio_headers = _auth_headers(client, "bio@poona.demo")
bio_headers = _auth_headers(client, "bio@xyz.demo")
dept = db.query(Department).first()
vendor = db.query(Vendor).first()
today = effective_today(db)
@@ -126,8 +126,8 @@ def test_demo_equipment_serial_no(client, db):
def test_department_visit_new_requirements_and_monthly_report(client, db):
bio_headers = _auth_headers(client, "bio@poona.demo")
mgmt_headers = _auth_headers(client, "mgmt@poona.demo")
bio_headers = _auth_headers(client, "bio@xyz.demo")
mgmt_headers = _auth_headers(client, "mgmt@xyz.demo")
dept = db.query(Department).first()
today = effective_today(db)
@@ -161,7 +161,7 @@ def test_department_visit_new_requirements_and_monthly_report(client, db):
def test_asset_calibration_and_insurance_filters(client, db):
bio_headers = _auth_headers(client, "bio@poona.demo")
bio_headers = _auth_headers(client, "bio@xyz.demo")
# Filter calibration applicable
res_cal_yes = client.get("/api/assets?requires_calibration=true", headers=bio_headers)
@@ -182,7 +182,7 @@ def test_asset_calibration_and_insurance_filters(client, db):
def test_bulk_import_templates_endpoints(client):
coord_headers = _auth_headers(client, "coord@poona.demo")
coord_headers = _auth_headers(client, "coord@xyz.demo")
# Contracts template
r_c = client.get("/api/contracts/import-template", headers=coord_headers)