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