From b8df14aec0a7ee98eb54dd8e476910cce7718f0c Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sun, 12 Jun 2022 20:23:19 -0700 Subject: [PATCH] tests/terminal-emulators: comply with mypy typecheck Co-authored-by: Robert Hensing --- nixos/tests/terminal-emulators.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/terminal-emulators.nix b/nixos/tests/terminal-emulators.nix index 6ea0f1c18725..c724608b9155 100644 --- a/nixos/tests/terminal-emulators.nix +++ b/nixos/tests/terminal-emulators.nix @@ -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:"):