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

@ -7,6 +7,11 @@ from src.organisation.models import Organisation as Org
from src.user.models import User
pytestmark = [
pytest.mark.auth,
]
@pytest.mark.anyio
async def test_get_org_auth_root_su(default_client: AsyncClient, db_session):
# If a super admin can access a resource when not the root user