summary refs log tree commit diff
path: root/nixos/tests/ombi.nix
blob: bfca86af8175d3a4968d7642505efbb95ab41976 (plain) (blame)
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 = "ombi";
  meta.maintainers = with maintainers; [ woky ];

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

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