Skip to content

Commit

Permalink
Remove some celery cruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Oct 14, 2024
1 parent 2509234 commit b6d8442
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/galaxy_test/api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,9 @@ def anonymous_galaxy_interactor(api_test_config_object: ApiConfigObject) -> Anon
return AnonymousGalaxyInteractor(api_test_config_object)


_celery_app = None
_celery_worker = None


@pytest.fixture(autouse=True, scope="session")
def request_celery_app(celery_session_app, celery_config):
try:
global _celery_app
_celery_app = celery_session_app
yield
finally:
if os.environ.get("GALAXY_TEST_EXTERNAL") is None:
Expand All @@ -101,8 +95,7 @@ def request_celery_app(celery_session_app, celery_config):

@pytest.fixture(autouse=True, scope="session")
def request_celery_worker(celery_session_worker, celery_config, celery_worker_parameters):
global _celery_worker
_celery_worker = celery_session_worker
yield


@pytest.fixture(scope="session", autouse=True)
Expand Down

0 comments on commit b6d8442

Please sign in to comment.