From 004c229ca44c069d93c92abf67ff1619fb508c6a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 19 Jul 2022 23:54:04 +0200 Subject: [PATCH] Convert minimal test to python test driver --- tests/minimal.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/minimal.nix b/tests/minimal.nix index 7327f55..88cb276 100644 --- a/tests/minimal.nix +++ b/tests/minimal.nix @@ -14,9 +14,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see -import { +import { - machine = + nodes.machine = { config, pkgs, ... }: { imports = [ @@ -26,6 +26,6 @@ import { testScript = '' - $machine->waitForUnit("multi-user.target"); + machine.wait_for_unit("multi-user.target"); ''; }