mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-02 21:24:34 +08:00
Upgrade pytest-asyncio usage
This commit is contained in:
@ -126,13 +126,6 @@ class UserManagerMock(BaseTestUserManager[models.UP]):
|
||||
_update: MagicMock
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def event_loop():
|
||||
loop = asyncio.get_event_loop()
|
||||
yield loop
|
||||
loop.close()
|
||||
|
||||
|
||||
AsyncMethodMocker = Callable[..., MagicMock]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user