ref: Remove autouse from pytest client fixture (#4158)
Remove autouse from pytest client fixture
This commit is contained in:
parent
2be7c56939
commit
047077cee4
41 changed files with 17 additions and 190 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue