brand: remove all poona references and standardize on XYZ Hospital
This commit is contained in:
@@ -59,8 +59,8 @@ def test_alert_state_and_coverage_status():
|
||||
|
||||
|
||||
def test_asset_crud_and_duplicate_code(client, db):
|
||||
bio_headers = _auth_headers(client, "bio@poona.demo")
|
||||
dept_headers = _auth_headers(client, "dept@poona.demo")
|
||||
bio_headers = _auth_headers(client, "bio@xyz.demo")
|
||||
dept_headers = _auth_headers(client, "dept@xyz.demo")
|
||||
icu = db.query(Department).filter(Department.code == "ICU").first()
|
||||
loc = db.query(Location).filter(Location.department_id == icu.id).first()
|
||||
cat = db.query(Category).first()
|
||||
@@ -139,7 +139,7 @@ def test_asset_crud_and_duplicate_code(client, db):
|
||||
|
||||
|
||||
def test_department_user_scoping_on_assets(client, db):
|
||||
dept_headers = _auth_headers(client, "dept@poona.demo")
|
||||
dept_headers = _auth_headers(client, "dept@xyz.demo")
|
||||
icu = db.query(Department).filter(Department.code == "ICU").first()
|
||||
ot = db.query(Department).filter(Department.code == "OT").first()
|
||||
other_asset = db.query(Asset).filter(Asset.department_id == ot.id).first()
|
||||
@@ -164,7 +164,7 @@ def test_department_user_scoping_on_assets(client, db):
|
||||
|
||||
|
||||
def test_coordinator_field_level_patch_restrictions(client, db):
|
||||
coord_headers = _auth_headers(client, "coord@poona.demo")
|
||||
coord_headers = _auth_headers(client, "coord@xyz.demo")
|
||||
asset = db.query(Asset).first()
|
||||
|
||||
ok_patch = client.patch(
|
||||
@@ -195,9 +195,9 @@ def test_coordinator_field_level_patch_restrictions(client, db):
|
||||
def test_attachments_upload_download_delete_and_security(client, db, tmp_path, monkeypatch):
|
||||
monkeypatch.setattr(settings, "UPLOAD_DIR", str(tmp_path))
|
||||
|
||||
bio_headers = _auth_headers(client, "bio@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")
|
||||
dept_headers = _auth_headers(client, "dept@xyz.demo")
|
||||
mgmt_headers = _auth_headers(client, "mgmt@xyz.demo")
|
||||
|
||||
icu = db.query(Department).filter(Department.code == "ICU").first()
|
||||
ot = db.query(Department).filter(Department.code == "OT").first()
|
||||
|
||||
Reference in New Issue
Block a user