nixos/tests/test-driver: document shell_interact

This commit is contained in:
Patrick Hilhorst
2021-06-02 14:49:59 +02:00
parent 5a589b5ba8
commit 9469433e34
2 changed files with 12 additions and 1 deletions

View File

@@ -459,7 +459,7 @@ class Machine:
def shell_interact(self) -> None:
"""Allows you to interact with the guest shell
Should only be used during testing, not in the production test."""
Should only be used during test development, not in the production test."""
self.connect()
telnet = telnetlib.Telnet()
telnet.sock = self.shell # type: ignore