blob: 8230dda53736c713356a491743bc13d3ee690a94 (
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, ... }:
{
name = "lidarr";
meta.maintainers = with lib.maintainers; [ etu ];
nodes.machine =
{ pkgs, ... }:
{ services.lidarr.enable = true; };
testScript = ''
start_all()
machine.wait_for_unit("lidarr.service")
machine.wait_for_open_port(8686)
machine.succeed("curl --fail http://localhost:8686/")
'';
})
|