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.
This commit is contained in:
Bobby Rong 2023-07-30 21:24:49 +08:00
parent 3acb5c4264
commit a0c846a05a
No known key found for this signature in database

View file

@ -833,7 +833,9 @@ class Machine:
# TODO: do we want to bail after a set number of attempts? # TODO: do we want to bail after a set number of attempts?
while not shell_ready(timeout_secs=30): while not shell_ready(timeout_secs=30):
self.log("Guest root shell did not produce any data yet...") 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: while True:
chunk = self.shell.recv(1024) chunk = self.shell.recv(1024)