nixosTests.writefreely: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski
2025-04-17 21:11:08 +02:00
parent 5babb318ba
commit 5570aab340
2 changed files with 4 additions and 8 deletions

View File

@@ -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;

View File

@@ -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 =