nixosTests.actual: migrate to runTest

Part Of #386873

Changed files
+15 -17
nixos
+14 -16
nixos/tests/actual.nix
···
-
import ./make-test-python.nix (
-
{ lib, ... }:
-
{
-
name = "actual";
-
meta.maintainers = [ lib.maintainers.oddlama ];
+
{ lib, ... }:
+
{
+
name = "actual";
+
meta.maintainers = [ lib.maintainers.oddlama ];
-
nodes.machine =
-
{ ... }:
-
{
-
services.actual.enable = true;
-
};
+
nodes.machine =
+
{ ... }:
+
{
+
services.actual.enable = true;
+
};
-
testScript = ''
-
machine.wait_for_open_port(3000)
-
machine.succeed("curl -fvvv -Ls http://localhost:3000/ | grep 'Actual'")
-
'';
-
}
-
)
+
testScript = ''
+
machine.wait_for_open_port(3000)
+
machine.succeed("curl -fvvv -Ls http://localhost:3000/ | grep 'Actual'")
+
'';
+
}
+1 -1
nixos/tests/all-tests.nix
···
aaaaxy = runTest ./aaaaxy.nix;
acme = import ./acme/default.nix { inherit runTest; };
acme-dns = runTest ./acme-dns.nix;
-
actual = handleTest ./actual.nix {};
+
actual = runTest ./actual.nix;
adguardhome = runTest ./adguardhome.nix;
aesmd = runTestOn ["x86_64-linux"] ./aesmd.nix;
agate = runTest ./web-servers/agate.nix;