mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Make functional tests to respect GALAXY_CONFIG_ environment variables.
Functional tests don't work without the tweak to imports in cloudlaunch - not sure if that has always been a problem and I am just running the tests in a different Galaxy instance or if the earlier import of util caused the problem. Regardless I guess we shoud update to a version of bioblend that doesn't require simplejson.
This commit is contained in:
@@ -17,6 +17,7 @@ from galaxy.util.json import dumps
|
||||
|
||||
eggs.require('PyYAML')
|
||||
eggs.require('boto')
|
||||
eggs.require('simplejson')
|
||||
eggs.require('bioblend')
|
||||
|
||||
from boto.exception import EC2ResponseError
|
||||
|
||||
@@ -16,6 +16,7 @@ sys.path = new_path
|
||||
from base.tool_shed_util import parse_tool_panel_config
|
||||
|
||||
from galaxy import eggs
|
||||
from galaxy.util.properties import load_app_properties
|
||||
|
||||
eggs.require( "nose" )
|
||||
eggs.require( "NoseHTML" )
|
||||
@@ -401,6 +402,9 @@ def main():
|
||||
kwargs[ 'global_conf' ] = get_webapp_global_conf()
|
||||
kwargs[ 'global_conf' ][ '__file__' ] = galaxy_config_file
|
||||
kwargs[ 'config_file' ] = galaxy_config_file
|
||||
kwargs = load_app_properties(
|
||||
kwds=kwargs
|
||||
)
|
||||
# Build the Universe Application
|
||||
app = UniverseApplication( **kwargs )
|
||||
database_contexts.galaxy_context = app.model.context
|
||||
|
||||
Reference in New Issue
Block a user