Server backup 2026-11-07 of uncommitted work in projects/pharma-web-celtic
Snapshot of the working tree on srv1071960 (branch main), taken during server cleanup. .env files, node_modules, builds, logs and media were excluded.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Company forms belong to one MR; only that MR's own Area Manager receives and signs the request."""
|
||||
"""Company forms belong to one MR; only that MR's own Area Business Manager receives and signs the request."""
|
||||
|
||||
import pytest
|
||||
from sqlalchemy import text
|
||||
@@ -110,7 +110,7 @@ class TestOnlyTheAssignedAreaManagerGetsTheRequest:
|
||||
await db.execute(text("UPDATE am_headquarters SET effective_to = current_date WHERE headquarters_id = :h"), {"h": org["hq1"].id})
|
||||
await db.commit()
|
||||
resp = await client.post(f"{API}/fare_chart/approval/request", headers=auth["mr1"])
|
||||
assert resp.status_code == 422 and "Area Manager" in resp.text
|
||||
assert resp.status_code == 422 and "Area Business Manager" in resp.text
|
||||
|
||||
async def test_the_pdf_is_signed_by_the_approver_of_that_mr_only(self, client, auth, org, db, forms):
|
||||
from app.csv_data.router import _signature
|
||||
|
||||
Reference in New Issue
Block a user