tests: pytest module markers
This commit is contained in:
parent
4ff9edf6d1
commit
bace6388aa
10 changed files with 61 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ from src.organisation.models import OrgUsers
|
|||
from src.user.models import User
|
||||
|
||||
|
||||
pytestmark = [
|
||||
pytest.mark.auth,
|
||||
pytest.mark.super_admin,
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
async def test_get_user_auth_su(no_su_client: AsyncClient):
|
||||
resp = await no_su_client.get("/user/?user_id=1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue