diff --git a/lib/galaxy_test/conftest.py b/lib/galaxy_test/conftest.py index 64f69aee6f5..74dd381288a 100644 --- a/lib/galaxy_test/conftest.py +++ b/lib/galaxy_test/conftest.py @@ -11,6 +11,8 @@ from galaxy.web import statsd_client as statsd from galaxy_test.api._framework import ApiTestCase from galaxy_test.driver.driver_util import GalaxyTestDriver +pytest_plugins = ("celery.contrib.pytest",) + @pytest.fixture(scope="session", autouse=True) def celery_includes(): diff --git a/pyproject.toml b/pyproject.toml index 155bcbc30cd..2b24828dbe6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,6 @@ pkce = "*" playwright = "*" pytest = "*" pytest-asyncio = "*" -pytest-celery = "*" pytest-cov = "*" pytest-html = "*" pytest-httpserver = "*" diff --git a/test/integration/conftest.py b/test/integration/conftest.py index 3a0619d076c..afe729466aa 100644 --- a/test/integration/conftest.py +++ b/test/integration/conftest.py @@ -2,7 +2,10 @@ import tempfile import pytest -from galaxy_test.conftest import pytest_configure # noqa: F401 +from galaxy_test.conftest import ( # noqa: F401 + pytest_configure, + pytest_plugins, +) @pytest.fixture(scope="session")