Skip to content

Commit

Permalink
Move pytest_plugins to the top level in dl_core tests to fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety committed Oct 12, 2023
1 parent 6ddb821 commit acf7857
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions lib/dl_core/dl_core_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest_plugins = ("aiohttp.pytest_plugin",) # and it, in turn, includes 'pytest_asyncio.plugin'
3 changes: 0 additions & 3 deletions lib/dl_core/dl_core_tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit acf7857

Please sign in to comment.