1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/tests/nzbhydra2.nix
Matteo Pacini 146fa6b114 nzbhydra2: changed test maintainers
Removed jamiemagee from maintainers.
Added myself as maintainer.
2024-07-07 17:37:56 +01:00

15 lines
415 B
Nix

import ./make-test-python.nix ({ lib, ... }:
{
name = "nzbhydra2";
meta.maintainers = with lib.maintainers; [ matteopacini ];
nodes.machine = { pkgs, ... }: { services.nzbhydra2.enable = true; };
testScript = ''
machine.start()
machine.wait_for_unit("nzbhydra2.service")
machine.wait_for_open_port(5076)
machine.succeed("curl --fail http://localhost:5076/")
'';
})