Skip to content

Commit

Permalink
move pytest_plugins to root conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Li committed Dec 19, 2019
1 parent 1c710a5 commit 2b1f454
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 7 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@

import pytest

pytest_plugins = ["sentry.utils.pytest"]
pytest_plugins = [
"sentry.utils.pytest.sentry",
"sentry.utils.pytest.selenium",
"sentry.utils.pytest.fixtures",
"sentry.utils.pytest.unittest",
"sentry.utils.pytest.kafka",
]

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))

Expand Down
8 changes: 0 additions & 8 deletions src/sentry/utils/pytest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
from __future__ import absolute_import

pytest_plugins = [
"sentry.utils.pytest.sentry",
"sentry.utils.pytest.selenium",
"sentry.utils.pytest.fixtures",
"sentry.utils.pytest.unittest",
"sentry.utils.pytest.kafka",
]

0 comments on commit 2b1f454

Please sign in to comment.