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