Cleanup galaxy context no longer needed for tool shed tests.

This commit is contained in:
John Chilton
2022-09-20 18:30:34 -04:00
parent ee33f082e6
commit 5bf5a3d85e
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -79,7 +79,6 @@ log = logging.getLogger("test_driver")
# Global variables to pass database contexts around - only needed for older
# Tool Shed twill tests that didn't utilize the API for such interactions.
galaxy_context = None
tool_shed_context = None
install_context = None
@@ -633,9 +632,7 @@ def build_galaxy_app(simple_kwargs) -> GalaxyUniverseApplication:
app = GalaxyUniverseApplication(**simple_kwargs)
log.info("Embedded Galaxy application started")
global galaxy_context
global install_context
galaxy_context = app.model.context
install_context = app.install_model.context
# Toolbox indexing happens via the work queue out of band recently, and,
-1
View File
@@ -10,7 +10,6 @@ import galaxy.model
import galaxy.model.tool_shed_install
import tool_shed.webapp.model as model
from galaxy_test.driver.driver_util import (
galaxy_context as ga_session,
install_context as install_session,
tool_shed_context as sa_session,
)