Skip to content

Commit 95b4fcf

Browse files
committed
Use aiohttp pytest plugin
1 parent e22cd62 commit 95b4fcf

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

colibris/commands/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
logger = logging.getLogger(__name__)
1212

1313
_PLUGINS = [
14-
'pytest-aiohttp',
14+
'aiohttp.pytest_plugin',
1515
'colibris.test'
1616
]
1717

requirements/dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ tox
22
pytest
33
ruff
44
requests
5-
pytest-aiohttp

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ envlist = py311
66
changedir = tests
77
deps = pytest
88
requests
9-
pytest_aiohttp
109
commands = pytest {posargs}
1110

1211
[testenv:lint]
@@ -17,5 +16,4 @@ commands = ruff check colibris {posargs}
1716

1817
[pytest]
1918
testpaths = tests
20-
asyncio_mode = auto
21-
addopts = -v
19+
addopts = -v -p aiohttp.pytest_plugin

0 commit comments

Comments
 (0)