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 8f76d38
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/unit/bootloader/config/grub2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,21 +1132,6 @@ def test_setup_install_image_config_substitute_error(self):
with raises(KiwiTemplateError):
self.bootloader.setup_install_image_config(self.mbrid)

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('kiwi.bootloader.config.grub2.Command.run')
@patch('kiwi.bootloader.config.base.BootLoaderConfigBase.get_boot_path')
@patch('os.path.exists')
Expand Down

0 comments on commit 8f76d38

Please sign in to comment.