""" """ import pytest from httpx import AsyncClient pytestmark = [ pytest.mark.auth, ] @pytest.mark.anyio async def test_get_org_auth_root_su(default_client: AsyncClient): # If a super admin can access a resource when not the root user resp = await default_client.get("/org?org_id=2") assert resp.status_code != 422 assert resp.status_code == 200 assert resp.json()["organisations"][0]["name"] == "Org Two"