4 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/60f4f8f901d1/ Changeset: 60f4f8f901d1 Branch: tool_shed_test_fix-DB_initialization User: JenCabral Date: 2015-02-06 16:51:03+00:00 Summary: Created new branch tool_shed_test_fix-DB_initialization Affected #: 0 files https://bitbucket.org/galaxy/galaxy-central/commits/b5276a73a8e3/ Changeset: b5276a73a8e3 Branch: tool_shed_test_fix-DB_initialization User: JenCabral Date: 2015-02-06 16:59:53+00:00 Summary: checks to see if directory for database exists if not creates the directory Affected #: 2 files diff -r 60f4f8f901d1cb5ca3bbe012839dae404e122de4 -r b5276a73a8e3b2ef1498d4eddf125f5310ab2a9f 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,8 @@ else: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) galaxy_db_path = os.path.join( tempdir, 'database' ) + 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 60f4f8f901d1cb5ca3bbe012839dae404e122de4 -r b5276a73a8e3b2ef1498d4eddf125f5310ab2a9f 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,8 @@ else: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) galaxy_db_path = os.path.join( tempdir, 'database' ) + 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 ) https://bitbucket.org/galaxy/galaxy-central/commits/9932bce250bc/ Changeset: 9932bce250bc Branch: tool_shed_test_fix-DB_initialization User: JenCabral Date: 2015-02-06 17:05:04+00:00 Summary: adding a comment and moving out of else statement Affected #: 2 files diff -r b5276a73a8e3b2ef1498d4eddf125f5310ab2a9f -r 9932bce250bce15135ea73d9bfd61fa353f18b6a 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,8 +407,9 @@ else: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) galaxy_db_path = os.path.join( tempdir, 'database' ) - if not os.path.exists(galaxy_db_path): - os.makedirs(galaxy_db_path) + # 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 b5276a73a8e3b2ef1498d4eddf125f5310ab2a9f -r 9932bce250bce15135ea73d9bfd61fa353f18b6a 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,8 +255,9 @@ else: tempdir = tempfile.mkdtemp( dir=galaxy_test_tmp_dir ) galaxy_db_path = os.path.join( tempdir, 'database' ) - if not os.path.exists(galaxy_db_path): - os.makedirs(galaxy_db_path) + # 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 ) 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.