mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/test-driver: re-introduce log()
Appearantly this is used in tests
This commit is contained in:
parent
f3c0a09c76
commit
87214dbd10
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue