mirror of
https://github.com/apidoorman/doorman.git
synced 2026-05-04 15:19:13 -05:00
9 lines
196 B
Python
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)
|