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