1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00

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
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
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 =