Skip to content

Commit

Permalink
Add missing assert call to install_test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Jan 29, 2024
1 parent 410e6d9 commit 882fb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/builder/install_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def side_effect(prefix, path):

self.boot_image_task.include_module.assert_any_call('kiwi-dump')
self.boot_image_task.include_module.assert_any_call('kiwi-dump-reboot')
self.boot_image_task.omit_module.call_args_list == [
assert self.boot_image_task.omit_module.call_args_list == [
call('multipath'), call('module1'), call('module2')
]
self.boot_image_task.set_static_modules.assert_called_once_with(
Expand Down Expand Up @@ -437,7 +437,7 @@ def test_create_install_pxe_archive(

self.boot_image_task.include_module.assert_any_call('kiwi-dump')
self.boot_image_task.include_module.assert_any_call('kiwi-dump-reboot')
self.boot_image_task.omit_module.call_args_list == [
assert self.boot_image_task.omit_module.call_args_list == [
call('multipath'), call('module1'), call('module2')
]
self.boot_image_task.set_static_modules.assert_called_once_with(
Expand Down

0 comments on commit 882fb90

Please sign in to comment.