kiwi-el8/test/unit/bootloader/install/base_test.py
David Cassany 4b3a105026
Re-structure unit tests folders
This commit relocates unit tests to a folder structure that matches
the source code structure.

Fixes #1128
2019-10-21 14:00:05 +02:00

20 lines
494 B
Python

from mock import Mock
from pytest import raises
from kiwi.bootloader.install.base import BootLoaderInstallBase
class TestBootLoaderInstallBase:
def setup(self):
self.bootloader = BootLoaderInstallBase(
'root_dir', Mock()
)
def test_install(self):
with raises(NotImplementedError):
self.bootloader.install()
def test_install_required(self):
with raises(NotImplementedError):
self.bootloader.install_required()