Skip to content

Commit

Permalink
Adapt tests to the realities of kiwi 9.24 SLE variant
Browse files Browse the repository at this point in the history
First SLE Kiwi 9.24 does not include [0] so newer unit
tests need to be adapted.

0: OSInside/kiwi#2347

Second fix is removing unused mock.
  • Loading branch information
aaannz committed Oct 15, 2024
1 parent 3cab86f commit e074680
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/bootloader/config/grub2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ def side_effect(arg):
call('set btrfs_relative_path="yes"\n'),
call('search --file --set=root /boot/0xffffffff\n'),
call('set prefix=($root)/boot/grub2\n'),
call('source ($root)/boot/grub2/grub.cfg\n'),
call('configfile ($root)/boot/grub2/grub.cfg\n'),
call(grub2_test_chrp_boot),
call('source /boot/grub2/grub.cfg\n')
]
Expand Down
1 change: 0 additions & 1 deletion test/unit/iso_tools/xorriso_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def test_init_iso_creation_parameters_ppc(self, mock_os_path_exists):
'-compliance', 'untranslated_names'
]

@patch('os.path.exists')
def test_init_iso_creation_parameters_efi(self):
self.iso_tool.init_iso_creation_parameters(
{
Expand Down

0 comments on commit e074680

Please sign in to comment.