This commit is contained in:
Shubhankar45
2026-10-27 12:03:31 +00:00
parent 2ed3945b5d
commit 4e5e95775d
104 changed files with 5210 additions and 606 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ async def test_am_can_list_only_approval_csv_tables_and_download_approval_pdf(cl
resp = await client.get(f"{API}/csv-data/tables", headers=auth["am1"])
assert resp.status_code == 200, resp.text
table_names = {item["name"] for item in resp.json()}
assert table_names == {"standard_tour_plan", "tour_plan", "fare_chart"}
assert table_names == {"standard_tour_plan", "tour_plan", "fare_chart", "expense_statement"}
assert "daily_call_report_csv" not in table_names
pdf = await client.get(f"{API}/csv-data/fare_chart/pdf", headers=auth["am1"])