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:
John Chilton
2014-10-06 20:56:58 -04:00
parent 426c04bbb6
commit f5d1f77a4f
2 changed files with 5 additions and 0 deletions
@@ -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
+4
View File
@@ -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