diff --git a/lib/dl_core/dl_core_tests/conftest.py b/lib/dl_core/dl_core_tests/conftest.py new file mode 100644 index 000000000..24e2d3dac --- /dev/null +++ b/lib/dl_core/dl_core_tests/conftest.py @@ -0,0 +1 @@ +pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin' diff --git a/lib/dl_core/dl_core_tests/unit/conftest.py b/lib/dl_core/dl_core_tests/unit/conftest.py index 5a48d8dc7..73a14a096 100644 --- a/lib/dl_core/dl_core_tests/unit/conftest.py +++ b/lib/dl_core/dl_core_tests/unit/conftest.py @@ -3,9 +3,6 @@ import pytest -pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin' - - @pytest.fixture def loop(event_loop): asyncio.set_event_loop(event_loop)