tests/terminal-emulators: comply with mypy typecheck

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
Brian Leung 2022-06-12 20:23:19 -07:00
parent 13f08d71ce
commit b8df14aec0
No known key found for this signature in database
GPG key ID: 3ADC75F013D678F9

View file

@ -197,6 +197,7 @@ in mapAttrs (name: { pkg, executable ? name, cmd ? "SHELL=$command ${executable}
with subtest("have the terminal display a colour"):
# We run this command in the background
assert machine.shell is not None
machine.shell.send(b"(run-in-this-term display-colour |& systemd-cat -t terminal) &\n")
with machine.nested("Waiting for the screen to have pink on it:"):