ref: Remove autouse from pytest client fixture (#4158)

Remove autouse from pytest client fixture
This commit is contained in:
Christophe Bornet 2024-10-16 00:55:10 +02:00 • committed by GitHub
commit 047077cee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 17 additions and 190 deletions

View file

@ -39,7 +39,7 @@ async def super_user_headers(client: AsyncClient, super_user):
@pytest.fixture
def deactivated_user():
def deactivated_user(client):
with session_getter(get_db_service()) as session:
user = User(
username="deactivateduser",