summary refs log tree commit diff
path: root/nixos/lib/test-driver
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-07-30 21:24:49 +0800
committerBobby Rong <rjl931189261@126.com>2023-07-30 21:24:49 +0800
commita0c846a05ad76b7f36c6672988175984285f7849 (patch)
tree4c8e70defff50669dfaad8bcddaf594cd404e6f4 /nixos/lib/test-driver
parent3acb5c4264c490e7714d503c7166a3fde0c51324 (diff)
downloadnixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.tar
nixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.tar.gz
nixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.tar.bz2
nixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.tar.lz
nixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.tar.xz
nixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.tar.zst
nixpkgs-a0c846a05ad76b7f36c6672988175984285f7849.zip
nixos/test-driver: format
There is a `black --check --diff ${src}/test_driver` check in
nixos-test-driver's checkPhase so this format change will be needed.
Diffstat (limited to 'nixos/lib/test-driver')
-rw-r--r--nixos/lib/test-driver/test_driver/machine.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/test_driver/machine.py b/nixos/lib/test-driver/test_driver/machine.py
index da27e875905..809fd690d71 100644
--- a/nixos/lib/test-driver/test_driver/machine.py
+++ b/nixos/lib/test-driver/test_driver/machine.py
@@ -833,7 +833,9 @@ class Machine:
             # TODO: do we want to bail after a set number of attempts?
             while not shell_ready(timeout_secs=30):
                 self.log("Guest root shell did not produce any data yet...")
-                self.log("  To debug, enter the VM and run 'systemctl status backdoor.service'.")
+                self.log(
+                    "  To debug, enter the VM and run 'systemctl status backdoor.service'."
+                )
 
             while True:
                 chunk = self.shell.recv(1024)