mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Skip config option integration test for values defined via env var override
This commit is contained in:
@@ -272,6 +272,8 @@ def get_config_data():
|
||||
for key, data in DRIVER.app.config.schema.app_schema.items():
|
||||
if key in DO_NOT_TEST:
|
||||
continue
|
||||
elif f"GALAXY_CONFIG_OVERRIDE_{str(key).upper()}" in os.environ:
|
||||
continue
|
||||
expected_value = get_expected(key, data, parent_dirs)
|
||||
loaded_value = getattr(DRIVER.app.config, key)
|
||||
data = OptionData(key=key, expected=expected_value, loaded=loaded_value) # passed to test
|
||||
|
||||
Reference in New Issue
Block a user