Unverified Commit 0d648375 authored by mvdbeek's avatar mvdbeek
Browse files

Fix global variable

parent e2f40433
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -69,9 +69,8 @@ DEFAULT_LOCALES = "en"
log = logging.getLogger("test_driver")


# Global variables to pass database contexts around - only needed for older
# Global variable to pass database contexts around - only needed for older
# Tool Shed twill tests that didn't utilize the API for such interactions.
tool_shed_context = None
install_context = None


+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@ shed_data_manager_conf_xml_template = """<?xml version="1.0"?>
<data_managers>
</data_managers>
"""
# Global variable to pass database contexts around - only needed for older
# Tool Shed twill tests that didn't utilize the API for such interactions.
tool_shed_context = None


def build_shed_app(simple_kwargs):
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ log = logging.getLogger("test.tool_shed.test_db_util")


def sa_session():
    from galaxy_test.driver.driver_util import tool_shed_context as sa_session
    from .driver import tool_shed_context as sa_session

    return sa_session