summary refs log blame commit diff
path: root/nixos/tests/prowlarr.nix
blob: 4cbca107568f3d4d6f24772d94edf52fb0bdf886 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                         
import ./make-test-python.nix ({ lib, ... }:

with lib;

{
  name = "prowlarr";
  meta.maintainers = with maintainers; [ jdreaver ];

  nodes.machine =
    { pkgs, ... }:
    { services.prowlarr.enable = true; };

  testScript = ''
    machine.wait_for_unit("prowlarr.service")
    machine.wait_for_open_port("9696")
    machine.succeed("curl --fail http://localhost:9696/")
  '';
})