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