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