mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-14 18:58:10 +08:00
Upgrade pytest-asyncio usage
This commit is contained in:
@ -2,14 +2,14 @@ from typing import AsyncGenerator, Optional
|
||||
|
||||
import httpx
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
from fastapi import Depends, FastAPI, status
|
||||
|
||||
from fastapi_users import FastAPIUsers, schemas
|
||||
from tests.conftest import IDType, User, UserCreate, UserModel, UserUpdate
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@pytest.mark.asyncio
|
||||
@pytest_asyncio.fixture
|
||||
async def test_app_client(
|
||||
secret,
|
||||
get_user_manager,
|
||||
|
Reference in New Issue
Block a user