kiwi-el8/test/unit/bootloader_install_base_test.py
Marcus Schäfer febd69ec0f Refactor variable name for root directory
If it is clear the source directory is the root directory of
the image the variable should be named root_dir not source_dir
2016-01-19 11:15:18 +01:00

21 lines
430 B
Python

from nose.tools import *
from mock import patch
import mock
import nose_helper
from kiwi.exceptions import *
from kiwi.bootloader_install_base import BootLoaderInstallBase
class TestBootLoaderInstallBase(object):
def setup(self):
self.bootloader = BootLoaderInstallBase(
'root_dir', mock.Mock()
)
@raises(NotImplementedError)
def test_install(self):
self.bootloader.install()