Files
doorman/backend-services/tests/test_auth_guard.py
T
2025-09-29 22:20:23 -04:00

9 lines
196 B
Python

# External imports
import pytest
@pytest.mark.asyncio
async def test_unauthorized_access_rejected(client):
me = await client.get('/platform/user/me')
assert me.status_code in (401, 500)