diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 9fc6594182b0..2f650f36bb0e 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1463,7 +1463,7 @@ in wpa_supplicant = import ./wpa_supplicant.nix { inherit pkgs runTest; }; wordpress = runTest ./wordpress.nix; wrappers = handleTest ./wrappers.nix { }; - writefreely = handleTest ./web-apps/writefreely.nix { }; + writefreely = import ./web-apps/writefreely.nix { inherit pkgs runTest; }; wstunnel = runTest ./wstunnel.nix; xandikos = runTest ./xandikos.nix; xautolock = runTest ./xautolock.nix; diff --git a/nixos/tests/web-apps/writefreely.nix b/nixos/tests/web-apps/writefreely.nix index 3f56e1df8ead..fe9889e75332 100644 --- a/nixos/tests/web-apps/writefreely.nix +++ b/nixos/tests/web-apps/writefreely.nix @@ -1,16 +1,12 @@ { - system ? builtins.currentSystem, - config ? { }, - pkgs ? import ../../.. { inherit system config; }, + runTest, + ... }: -with import ../../lib/testing-python.nix { inherit system pkgs; }; -with pkgs.lib; - let writefreelyTest = { name, type }: - makeTest { + runTest { name = "writefreely-${name}"; nodes.machine =