For new applications like this kiwi version and its use cases it is better to base it on a more recent python version
21 lines
437 B
Python
21 lines
437 B
Python
from nose.tools import *
|
|
from mock import patch
|
|
|
|
import mock
|
|
|
|
from . 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()
|