3
0
Fork 0
forked from mirrors/nixpkgs

nixos/test-driver: re-introduce log()

Appearantly this is used in tests
This commit is contained in:
Jörg Thalheim 2020-08-25 14:50:47 +01:00
parent f3c0a09c76
commit 87214dbd10
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -320,6 +320,9 @@ class Machine:
+ "'{}' but it is in state {}".format(require_state, state)
)
def log(self, message: str) -> None:
self.logger.info(message)
def execute(self, command: str) -> Tuple[int, str]:
self.connect()