Skip to content

Commit

Permalink
Work around test failure due to osc missing a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogtinator committed Aug 15, 2024
1 parent d3ff6c6 commit 2cb3f96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/OBSLocal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 2cb3f96

Please sign in to comment.