Skip to content
Snippets Groups Projects
Verified Commit db31d8a0 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Move pytest_plugin declaration to top-level conftest

Defining 'pytest_plugins' in a non-top-level conftest is no longer supported
because it affects the entire directory tree in a non-explicit way.
parent 97c091e0
No related branches found
No related tags found
1 merge request!177pytest_plugin declaration to top-level conftest
......@@ -18,3 +18,8 @@ def swhmain():
yield _swhmain
_swhmain.commands = commands
_swhmain.aliases = aliases
# This is coming from the aiohttp library directly. Beware the desynchronized
# https://github.com/aio-libs/pytest-aiohttp module which wraps that library...
pytest_plugins = ["aiohttp.pytest_plugin"]
# This is coming from the aiohttp library directly. Beware the desynchronized
# https://github.com/aio-libs/pytest-aiohttp module which wraps that library...
pytest_plugins = ["aiohttp.pytest_plugin"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment