1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/41f41e587c34/
Changeset: 41f41e587c34
User: jmchilton
Date: 2015-02-17 19:02:04+00:00
Summary: Fix tool shed tests for GALAXY_TEST_DB_TEMPLATE unset.
I guess everyone who has ran tool shed tests in the last couple years has set either that
or GALAXY_TEST_DBURI? Odd.
Affected #: 1 file
diff -r df4ab158d14e2b371ecced7392bcf02bc4e7dd65 -r
41f41e587c3470019855358afb7eaff7377c1ca0 test/tool_shed/functional_tests.py
--- a/test/tool_shed/functional_tests.py
+++ b/test/tool_shed/functional_tests.py
@@ -224,6 +224,8 @@
# cases (namely tool shed tests expecting clean database).
__copy_database_template(os.environ['GALAXY_TEST_DB_TEMPLATE'],
db_path)
galaxy_database_auto_migrate = True
+ if not os.path.exists(galaxy_db_path):
+ os.makedirs(galaxy_db_path)
galaxy_database_connection = 'sqlite:///%s' % db_path
if 'GALAXY_TEST_INSTALL_DBURI' in os.environ:
install_galaxy_database_connection = os.environ[
'GALAXY_TEST_INSTALL_DBURI' ]
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.