mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
nixos/test-driver: fix type hint for send_chars
This commit is contained in:
parent
de3e423178
commit
9d2a8e3190
@ -682,7 +682,7 @@ class Machine:
|
||||
with self.nested("waiting for {} to appear on tty {}".format(regexp, tty)):
|
||||
retry(tty_matches)
|
||||
|
||||
def send_chars(self, chars: List[str]) -> None:
|
||||
def send_chars(self, chars: str) -> None:
|
||||
with self.nested("sending keys ‘{}‘".format(chars)):
|
||||
for char in chars:
|
||||
self.send_key(char)
|
||||
|
Loading…
Reference in New Issue
Block a user