mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
@@ -10,17 +10,6 @@ def celery_includes():
|
||||
return ["galaxy.celery.tasks"]
|
||||
|
||||
|
||||
def pytest_collection_finish(session):
|
||||
try:
|
||||
# This needs to be run after test collection
|
||||
from .test_config_defaults import DRIVER
|
||||
|
||||
DRIVER.tear_down()
|
||||
print("Galaxy test driver shutdown successful")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def temp_file():
|
||||
with tempfile.NamedTemporaryFile(delete=True, mode="wb") as fh:
|
||||
|
||||
Reference in New Issue
Block a user