Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ lint =
mypy >= 1.5.0
types-redis
tests =
pytest==8.3.3
pytest-asyncio==0.24.0
pytest-cov==6.0.0
pytest==8.4.1
pytest-asyncio==1.1.0
pytest-cov==6.2.1
pytest-randomly==3.16.0
pytest-rerunfailures==15.1
hypothesis==6.135.29
8 changes: 5 additions & 3 deletions tests/test_intergations/test_aiohttp.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import asyncio
from datetime import timedelta

import pytest
import pytest_asyncio

from cashews import mem

pytestmark = [pytest.mark.asyncio, pytest.mark.integration]


# just an alias, required by aiohttp
@pytest.fixture
def loop(event_loop):
return event_loop
@pytest_asyncio.fixture()
async def loop():
return asyncio.get_running_loop()


@pytest.fixture(name="app")
Expand Down
Loading