nixos/tests/kbd-update-search-paths: explicitly import re
This commit is contained in:
parent
f6b27bd905
commit
07f85e36e9
@ -10,6 +10,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
testScript = ''
|
||||
command = "${pkgs.kbd}/bin/setfont ter-112n 2>&1"
|
||||
(status, out) = machine.execute(command)
|
||||
import re
|
||||
pattern = re.compile(r".*Unable to find file:.*")
|
||||
match = pattern.match(out)
|
||||
if match:
|
||||
|
Loading…
Reference in New Issue
Block a user