kiwi-el8/test/unit/bootloader/install/zipl_test.py
Marcus Schäfer 583f3385df
Add support for BLS zipl
Add support for <bootloader name="zipl" .../> to support BLS
based zipl configuration. This Fixes #2481
2024-03-10 11:28:21 +01:00

26 lines
635 B
Python

from unittest.mock import Mock
from pytest import raises
from kiwi.bootloader.install.zipl import BootLoaderInstallZipl
class TestBootLoaderInstallZipl:
def setup(self):
self.bootloader = BootLoaderInstallZipl(
'root_dir', Mock()
)
def setup_method(self, cls):
self.setup()
def test_install(self):
with raises(NotImplementedError):
self.bootloader.install()
def test_install_required(self):
assert self.bootloader.install_required() is False
def test_secure_boot_install(self):
# just pass
self.bootloader.secure_boot_install()