From 94a158b77a2977897ef180882e103056b2f2cf05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 Aug 2025 16:34:19 +0200 Subject: [PATCH] ARG001: fix --- lib/test/container-test-driver/test_driver/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test/container-test-driver/test_driver/__init__.py b/lib/test/container-test-driver/test_driver/__init__.py index b17af3a8c..197783a55 100644 --- a/lib/test/container-test-driver/test_driver/__init__.py +++ b/lib/test/container-test-driver/test_driver/__init__.py @@ -150,7 +150,7 @@ class Error(Exception): pass -def prepare_machine_root(machinename: str, root: Path) -> None: +def prepare_machine_root(root: Path) -> None: root.mkdir(parents=True, exist_ok=True) root.joinpath("etc").mkdir(parents=True, exist_ok=True) root.joinpath(".env").write_text( @@ -197,7 +197,7 @@ class Machine: return self.get_systemd_process() def start(self) -> None: - prepare_machine_root(self.name, self.rootdir) + prepare_machine_root(self.rootdir) init_test_environment() cmd = [ "systemd-nspawn",