commit/galaxy-central: inithello: Allow specifying the functional tests' install_database_connection with an environment variable.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/83cbc7f17682/ Changeset: 83cbc7f17682 User: inithello Date: 2014-01-08 20:50:19 Summary: Allow specifying the functional tests' install_database_connection with an environment variable. Affected #: 1 file diff -r 16495aaa26ea3d8feabcd25ee395608568156b6f -r 83cbc7f1768231d92ee26604d1b03b8650f020a6 scripts/functional_tests.py --- a/scripts/functional_tests.py +++ b/scripts/functional_tests.py @@ -313,6 +313,7 @@ file_path = os.path.join( galaxy_db_path, 'files' ) new_file_path = tempfile.mkdtemp( prefix='new_files_path_', dir=tempdir ) job_working_directory = tempfile.mkdtemp( prefix='job_working_directory_', dir=tempdir ) + install_database_connection = os.environ.get( 'GALAXY_TEST_INSTALL_DBURI', None ) if 'GALAXY_TEST_DBURI' in os.environ: database_connection = os.environ['GALAXY_TEST_DBURI'] else: @@ -372,6 +373,8 @@ user_library_import_dir=user_library_import_dir, master_api_key=master_api_key, ) + if install_database_connection is not None: + kwargs[ 'install_database_connection' ] = install_database_connection if psu_production: kwargs[ 'global_conf' ] = None if not database_connection.startswith( 'sqlite://' ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org