From c58ddf70dac4b5d66db000b8298f54bb5815c0cf Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 23 Feb 2023 14:40:10 +0100 Subject: [PATCH] Compact updating config into one call --- test/test_release_mixin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_release_mixin.py b/test/test_release_mixin.py index e83ad85..4b129c6 100644 --- a/test/test_release_mixin.py +++ b/test/test_release_mixin.py @@ -34,10 +34,10 @@ class MyBuild(ReleaseMixin): def initialize(project, CONFIG_FILE): project.build_depends_on('ddadevops>=3.1.2') config = create_release_mixin_config(CONFIG_FILE, MAIN_BRANCH) - config.update({'stage': STAGE}) - config.update({'module': MODULE}) - config.update({'project_root_path': PROJECT_ROOT_PATH}) - config.update({'build_dir_name': BUILD_DIR_NAME}) + config.update({'stage': STAGE, + 'module': MODULE, + 'project_root_path': PROJECT_ROOT_PATH, + 'build_dir_name': BUILD_DIR_NAME}) build = MyBuild(project, config) return build