about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2023-03-16 01:50:15 +0100
committerAstro <astro@spaceboyz.net>2023-03-16 01:50:15 +0100
commit64a4ae6f37de056eb0aa3b4eb00dc47570910823 (patch)
tree271b98384f8d61f7f5eba38470535218013c2bf6 /nixos/tests
parentf4331c498367fb94d198250fb4ef285fd340bb94 (diff)
nixos/test-driver: remove allow_reboot state from Machine, make it a start() kwarg
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/login.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/login.nix b/nixos/tests/login.nix
index 97d7c7b9b5357..67f5764a0a162 100644
--- a/nixos/tests/login.nix
+++ b/nixos/tests/login.nix
@@ -13,7 +13,7 @@ import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... }:
     };
 
   testScript = ''
-      machine.allow_reboot = True
+      machine.start(allow_reboot = True)
 
       machine.wait_for_unit("multi-user.target")
       machine.wait_until_succeeds("pgrep -f 'agetty.*tty1'")