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