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 7797359 commit 438ab4e
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 438ab4e

Please sign in to comment.