1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00
nixpkgs/nixos/tests/ombi.nix

18 lines
337 B
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/")
'';
}