nixpkgs/nixos/tests/actual.nix
oddlama 93af2d0523
nixos/actual: init module and tests
Co-authored-by: PatrickDaG <58092422+PatrickDaG@users.noreply.github.com>
2024-12-20 15:06:04 +01:00

18 lines
370 B
Nix

import ./make-test-python.nix (
{ lib, ... }:
{
name = "actual";
meta.maintainers = [ lib.maintainers.oddlama ];
nodes.machine =
{ ... }:
{
services.actual.enable = true;
};
testScript = ''
machine.wait_for_open_port(3000)
machine.succeed("curl -fvvv -Ls http://localhost:3000/ | grep 'Actual'")
'';
}
)