2021-10-10 16:54:22 +01:00
|
|
|
import ./make-test-python.nix ({ lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "prowlarr";
|
|
|
|
meta.maintainers = with maintainers; [ jdreaver ];
|
|
|
|
|
|
|
|
nodes.machine =
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{ services.prowlarr.enable = true; };
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
machine.wait_for_unit("prowlarr.service")
|
2022-06-11 13:22:53 +01:00
|
|
|
machine.wait_for_open_port(9696)
|
2021-10-10 16:54:22 +01:00
|
|
|
machine.succeed("curl --fail http://localhost:9696/")
|
|
|
|
'';
|
|
|
|
})
|