tests: pytest module markers

This commit is contained in:
Chris Milne 2026-06-09 13:58:08 +01:00
parent 4ff9edf6d1
commit bace6388aa
10 changed files with 61 additions and 0 deletions

View file

@ -6,6 +6,12 @@ import pytest
from httpx import AsyncClient
pytestmark = [
pytest.mark.auth,
pytest.mark.user,
]
@pytest.mark.anyio
async def test_get_self_db_auth_user(no_user_client: AsyncClient):
resp = await no_user_client.get("/user/self/db")