From 73789d37d61c2e8059093f81b1ab79d9cb54bc4b Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Tue, 21 Apr 2026 10:15:13 +0000 Subject: [PATCH] nixosTests: fix missing imports --- nixos/tests/ghostunnel-modular.nix | 1 + nixos/tests/ghostunnel.nix | 1 + nixos/tests/haproxy.nix | 2 ++ nixos/tests/podman/tls-ghostunnel.nix | 1 + 4 files changed, 5 insertions(+) diff --git a/nixos/tests/ghostunnel-modular.nix b/nixos/tests/ghostunnel-modular.nix index a1f17bc03400..bb4cef2a9f08 100644 --- a/nixos/tests/ghostunnel-modular.nix +++ b/nixos/tests/ghostunnel-modular.nix @@ -54,6 +54,7 @@ }; testScript = '' + import os # prepare certificates diff --git a/nixos/tests/ghostunnel.nix b/nixos/tests/ghostunnel.nix index 417f1a64765b..acd9c4331835 100644 --- a/nixos/tests/ghostunnel.nix +++ b/nixos/tests/ghostunnel.nix @@ -48,6 +48,7 @@ }; testScript = '' + import os # prepare certificates diff --git a/nixos/tests/haproxy.nix b/nixos/tests/haproxy.nix index 24c355788a38..107010528737 100644 --- a/nixos/tests/haproxy.nix +++ b/nixos/tests/haproxy.nix @@ -69,6 +69,8 @@ }; }; testScript = '' + import os + # Helpers def cmd(command): print(f"+{command}") diff --git a/nixos/tests/podman/tls-ghostunnel.nix b/nixos/tests/podman/tls-ghostunnel.nix index fb4a43fd4a89..1fcfd08f0efc 100644 --- a/nixos/tests/podman/tls-ghostunnel.nix +++ b/nixos/tests/podman/tls-ghostunnel.nix @@ -83,6 +83,7 @@ import ../make-test-python.nix ( }; testScript = '' + import os import shlex