1
0
Fork 0
forked from sr2/cloud-api

feat: caor docs and response model

This commit is contained in:
Chris Milne 2026-06-10 16:16:56 +01:00
parent 0b521414b3
commit ec41d1ed05
4 changed files with 45 additions and 9 deletions

View file

@ -36,7 +36,7 @@ async def test_post_act_on_resource_endpoint_success(default_client: AsyncClient
data = resp.json()
assert resp.status_code == 200
assert data is True
assert data["allowed"] is True
@pytest.mark.parametrize(
@ -148,7 +148,7 @@ async def test_act_on_resource_logic(
data = resp.json()
assert resp.status_code == 200
assert data == expected_response
assert data["allowed"] == expected_response
@pytest.mark.anyio