commit/galaxy-central: jmchilton: Merged in JenCabral/galaxy-central/tool_shed_test_fix-DB_initialization (pull request #662)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/527b11f07d81/ Changeset: 527b11f07d81 User: jmchilton Date: 2015-02-07 02:33:49+00:00 Summary: Merged in JenCabral/galaxy-central/tool_shed_test_fix-DB_initialization (pull request #662) Fix tool shed tests - create database directory Affected #: 2 files diff -r 3dd2ec31034db4febf1954c295b81604cca62169 -r 527b11f07d8107298c87293eb04469f2743e229e test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py --- a/test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py +++ b/test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py @@ -407,6 +407,9 @@ else: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) galaxy_db_path = os.path.join( tempdir, 'database' ) + # Checks if galaxy_db_path exists, if not create it. + if not os.path.exists(galaxy_db_path): + os.makedirs(galaxy_db_path) # Configure the paths Galaxy needs to install and test tools. galaxy_file_path = os.path.join( galaxy_db_path, 'files' ) galaxy_tempfiles = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) diff -r 3dd2ec31034db4febf1954c295b81604cca62169 -r 527b11f07d8107298c87293eb04469f2743e229e test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py --- a/test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py +++ b/test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py @@ -255,6 +255,9 @@ else: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) galaxy_db_path = os.path.join( tempdir, 'database' ) + # Checks that galaxy_db_path exists and if not, create it. + if not os.path.exists(galaxy_db_path): + os.makedirs(galaxy_db_path) # Configure the paths Galaxy needs to install and test tools. galaxy_file_path = os.path.join( galaxy_db_path, 'files' ) galaxy_tempfiles = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) 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