about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/ombi.nix
blob: fb3a37c978e3b55e6aaa875562ecc03044b7697d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import ./make-test-python.nix ({ lib, ... }:

{
  name = "ombi";
  meta.maintainers = with lib.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/")
  '';
})