tests: pytest module markers
This commit is contained in:
parent
4ff9edf6d1
commit
bace6388aa
10 changed files with 61 additions and 0 deletions
|
|
@ -12,6 +12,12 @@ from src.user.models import User
|
|||
from src.iam.models import Group
|
||||
|
||||
|
||||
pytestmark = [
|
||||
pytest.mark.auth,
|
||||
pytest.mark.preapproval,
|
||||
]
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def set_org_partial(db_session):
|
||||
org_model = db_session.get(Org, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue