1 parent b300dce commit 322dcacCopy full SHA for 322dcac
1 file changed
packages/api/src/taskflow_api/tests/test_multitenancy.py
@@ -57,7 +57,9 @@ async def test_list_projects_tenant_isolation(client: AsyncClient, session: Asyn
57
58
59
@pytest.mark.asyncio
60
-async def test_get_project_wrong_tenant_returns_404(client: AsyncClient, session: AsyncSession) -> None:
+async def test_get_project_wrong_tenant_returns_404(
61
+ client: AsyncClient, session: AsyncSession
62
+) -> None:
63
"""Test that accessing a project from wrong tenant returns 404 (not 403)."""
64
# Create project in tenant A
65
response = await client.post(
0 commit comments