Better separation for integration tests.

This commit is contained in:
John Chilton
2019-07-18 18:31:17 -04:00
parent ef29b72e00
commit a70595a23e
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -933,6 +933,11 @@ class GalaxyTestDriver(TestDriver):
galaxy_db_path,
**setup_galaxy_config_kwds
)
isolate_galaxy_config = getattr(config_object, "isolate_galaxy_config", False)
if isolate_galaxy_config:
galaxy_config["config_dir"] = tempdir
self._saved_galaxy_config = galaxy_config
if galaxy_config is not None:
+4
View File
@@ -60,6 +60,10 @@ class IntegrationInstance(UsesApiTestCaseMixin):
# Subclasses can override this to force uwsgi for tests.
require_uwsgi = False
# Don't pull in default configs for un-configured things from Galaxy's
# config directory and such.
isolate_galaxy_config = True
@classmethod
def setUpClass(cls):
"""Configure and start Galaxy for a test."""