Merge pull request #177461 from leungbk/mypy-terminal-emulator

tests/terminal-emulators: comply with mypy typecheck
This commit is contained in:
Robert Hensing 2022-06-14 00:34:16 +02:00 committed by GitHub
commit 5f2eb57725
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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:"):