refactor: add ability to pass anything as environment variable to build task

This commit is contained in:
2023-10-22 22:18:23 +03:00
parent ad901067d8
commit 4b6feb9ae6
3 changed files with 9 additions and 7 deletions

View File

@ -10,7 +10,7 @@ def test_build(task_ahriman: Task, mocker: MockerFixture) -> None:
must build package
"""
check_output_mock = mocker.patch("ahriman.core.build_tools.task.Task._check_output")
task_ahriman.build(Path("ahriman"), "packager")
task_ahriman.build(Path("ahriman"))
check_output_mock.assert_called()