def METHOD_NAME(self, mock_boot, mock_filesystem):
    boot_image_task = MagicMock()
    boot_image_task.has_initrd_support = Mock(
        return_value=False
    )
    mock_boot.new.return_value = boot_image_task
    with self._caplog.at_level(logging.WARNING):
        KisBuilder(self.xml_state, 'target_dir', 'root_dir')