Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(add_upgrade_boot_entry): convert arg list into a tuple #1313

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _get_rdlvm_arg_values():
api.current_logger().debug('Collected the following rd.lvm.lv args that are undesired for the squashfs: %s',
rd_lvm_values)

return rd_lvm_values
return tuple(rd_lvm_values)


def construct_cmdline_args_for_livemode():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def test_get_rdlvm_arg_values(monkeypatch):

args = addupgradebootentry._get_rdlvm_arg_values()

assert args == ['A', 'B']
assert args == ('A', 'B')


def test_get_device_uuid(monkeypatch):
Expand Down
Loading