Move logic of whether to load a config into can_load_config_file and fix unit tests

This commit is contained in:
mvdbeek
2020-02-12 11:53:28 +01:00
parent 0421553fca
commit e1780cb20a
3 changed files with 20 additions and 10 deletions
+2
View File
@@ -145,6 +145,8 @@ class MockAppConfig(Bunch):
self.builds_file_path = os.path.join('tool-data', 'shared', 'ucsc', 'builds.txt.sample')
self.migrated_tools_config = "/tmp/migrated_tools_conf.xml"
self.shed_tool_config_file = "config/shed_tool_conf.xml"
self.shed_tool_config_file_set = False
self.preserve_python_environment = "always"
self.enable_beta_gdpr = False
self.legacy_eager_objectstore_initialization = True