details: http://www.bx.psu.edu/hg/galaxy/rev/ee382d1c63b7 changeset: 2997:ee382d1c63b7 user: Nate Coraor <nate@bx.psu.edu> date: Tue Nov 10 11:20:04 2009 -0500 description: Add env var to set metadata externally during tests diffstat: scripts/functional_tests.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diffs (21 lines): diff -r 461407cd7013 -r ee382d1c63b7 scripts/functional_tests.py --- a/scripts/functional_tests.py Tue Nov 10 10:10:29 2009 -0500 +++ b/scripts/functional_tests.py Tue Nov 10 11:20:04 2009 -0500 @@ -71,6 +71,9 @@ default_cluster_job_runner = os.environ['GALAXY_TEST_DEF_RUNNER'] else: default_cluster_job_runner = 'local:///' + set_metadata_externally = False + if 'GALAXY_SET_METADATA_EXTERNALLY' in os.environ: + set_metadata_externally = True print "Database connection:", database_connection @@ -104,6 +107,7 @@ admin_users = 'test@bx.psu.edu', library_import_dir = galaxy_test_file_dir, user_library_import_dir = os.path.join( galaxy_test_file_dir, 'users' ), + set_metadata_externally = set_metadata_externally, global_conf = { "__file__": "universe_wsgi.ini.sample" } ) log.info( "Embedded Universe application started" );