File: systemd_boot_test.py

package info (click to toggle)
kiwi 10.2.33-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 7,528 kB
  • sloc: python: 67,299; sh: 3,980; xml: 3,379; ansic: 391; makefile: 354
file content (14 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from kiwi.bootloader.template.systemd_boot import BootLoaderTemplateSystemdBoot


class TestBootLoaderTemplateSystemdBoot:
    def setup(self):
        self.systemd_boot = BootLoaderTemplateSystemdBoot()

    def setup_method(self, cls):
        self.setup()

    def test_get_loader_template(self):
        assert self.systemd_boot.get_loader_template().substitute(
            boot_timeout='10'
        )