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:
Shubhankar45
2026-11-07 05:43:12 +00:00
parent b001e2d03c
commit 0d30c58bf0
98 changed files with 1878 additions and 573 deletions
+2 -2
View File
@@ -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