Skip to content

Commit

Permalink
Accidentally duplicated test: fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
KaliumPuceon committed Oct 30, 2023
1 parent fbbd4d4 commit 8ecad90
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/unit/bootloader/config/grub2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,20 +1022,6 @@ def open_file(filename, mode=None):
assert 'initrd /boot/initrd' in \
file_handle_menu.write.call_args_list[1][0][0].split(os.linesep)

self.bootloader.bootpartition = True
file_handle_menu.reset_mock()

self.bootloader.setup_disk_image_config(
boot_options={
'root_device': 'rootdev', 'boot_device': 'bootdev'
}
)

assert 'linux /vmlinuz' in \
file_handle_menu.write.call_args_list[1][0][0].split(os.linesep)
assert 'initrd /initrd' in \
file_handle_menu.write.call_args_list[1][0][0].split(os.linesep)

@patch.object(BootLoaderConfigGrub2, '_mount_system')
@patch.object(BootLoaderConfigGrub2, '_copy_grub_config_to_efi_path')
@patch('kiwi.bootloader.config.grub2.Command.run')
Expand Down

0 comments on commit 8ecad90

Please sign in to comment.