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