PIP PLATFORM ended
Run Tests on Branches / Backend Tests (push) Successful in 3m28s
Run Tests on Branches / Frontend Tests (push) Successful in 3m25s
Run Tests on Branches / PIP Tests (push) Failing after 9s

This commit is contained in:
Antoni Nuñez Romeu
2026-07-01 17:19:03 +02:00
parent c5df0ec0b2
commit 8615e213de
5 changed files with 53 additions and 41 deletions
@@ -73,8 +73,10 @@ async def test_api_key_read_access():
r2 = await c.get("/api/v1/medications", headers=api_h)
assert r2.status_code == 200
r3 = await c.get("/api/v1/inventory", headers=api_h)
assert r3.status_code == 200
if r.json()["total"] > 0:
pharm_id = r.json()["items"][0]["id"]
r3 = await c.get(f"/api/v1/pharmacies/{pharm_id}/inventory", headers=api_h)
assert r3.status_code == 200
print(" PASS: test_api_key_read_access")