Skip to content

Commit

Permalink
test: update kernel builder test
Browse files Browse the repository at this point in the history
  • Loading branch information
seppzer0 committed Apr 27, 2024
1 parent 12fec6d commit 9b27afe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/wrapper/core/test_kernel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

from builder.core import KernelBuilder
from builder.managers import ResourceManager


@pytest.mark.parametrize(
Expand All @@ -23,7 +24,7 @@
)
def test__defconfig__check(config: dict[str, str], expected_defconfig: Path) -> None:
"""Test defconfig path definition."""
t = KernelBuilder(**config)
t = KernelBuilder(**config, rm=ResourceManager())
res_actual = t._defconfig
res_expected = expected_defconfig
assert res_actual == res_expected

0 comments on commit 9b27afe

Please sign in to comment.