Skip to content
Snippets Groups Projects
Verified Commit 83de8bf9 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Change default value for user_configuration

parent fc9874df
No related branches found
No related tags found
1 merge request!126Change default value for user_configuration
Pipeline #78753 passed
......@@ -62,7 +62,7 @@ class BaseWorker(object):
logger.info(f"Worker will use {self.work_dir} as working directory")
self.process_information = None
self.user_configuration = None
self.user_configuration = {}
self.support_cache = support_cache
# use_cache will be updated in configure() if the cache is supported and if there
# is at least one available sqlite database either given or in the parent tasks
......
......@@ -136,7 +136,7 @@ def test_configure_dev_mode(
assert worker.process_information is None
assert worker.worker_version_id == "12341234-1234-1234-1234-123412341234"
assert worker.is_read_only is True
assert worker.user_configuration is None
assert worker.user_configuration == {}
def test_configure_worker_run(mocker, monkeypatch, responses, mock_config_api):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment