1import ./make-test-python.nix (
2 { lib, ... }:
3
4 {
5 name = "uptime-kuma";
6 meta.maintainers = with lib.maintainers; [ julienmalka ];
7
8 nodes.machine =
9 { pkgs, ... }:
10 {
11 services.uptime-kuma.enable = true;
12 };
13
14 testScript = ''
15 machine.start()
16 machine.wait_for_unit("uptime-kuma.service")
17 machine.wait_for_open_port(3001)
18 machine.succeed("curl --fail http://localhost:3001/")
19 '';
20 }
21)