Add missing base class method
The BootLoaderInstallBase class was missing the default implementation for the set_disk_password API
This commit is contained in:
parent
137777a84f
commit
e797c1136f
@ -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
|
||||
|
||||
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user