From 2cb3f962d8fe5c4d2ce1b893ded38c7d31adfddc Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Thu, 15 Aug 2024 16:26:21 +0200 Subject: [PATCH] Work around test failure due to osc missing a fix --- tests/OBSLocal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/OBSLocal.py b/tests/OBSLocal.py index 2405eda01..5a641b240 100644 --- a/tests/OBSLocal.py +++ b/tests/OBSLocal.py @@ -404,7 +404,9 @@ def remote_config_set(self, config, replace_all=False): config_lines = [] for key, value in config.items(): - config_lines.append(f'{key} = {value}') + # Workaround for osc without https://github.com/openSUSE/osc/pull/1601 + if key != "__name__": + config_lines.append(f'{key} = {value}') attribute_value_save(APIURL, self.project, 'Config', '\n'.join(config_lines))