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

@ -11,6 +11,12 @@ from src.user.models import User
from src.iam.models import Group
pytestmark = [
pytest.mark.auth,
pytest.mark.root_user,
]
@pytest.fixture(autouse=True)
def add_second_org(db_session):
db_session.add(