Add missing base class method

The BootLoaderInstallBase class was missing the default
implementation for the set_disk_password API
This commit is contained in:
Marcus Schäfer 2026-01-16 08:04:53 +01:00
parent 137777a84f
commit e797c1136f
No known key found for this signature in database
GPG Key ID: A16C1128698C8CAC
2 changed files with 12 additions and 0 deletions

View File

@ -69,3 +69,11 @@ class BootLoaderInstallBase:
Implementation in specialized bootloader install class required
"""
raise NotImplementedError
def set_disk_password(self, password: str):
"""
Include crypto mount credentials
Implementation in specialized bootloader install class optional
"""
pass

View File

@ -24,3 +24,7 @@ class TestBootLoaderInstallBase:
def test_secure_boot_install(self):
with raises(NotImplementedError):
self.bootloader.secure_boot_install()
def test_set_disk_password(self):
# just pass
self.bootloader.set_disk_password('some')