1import ./make-test-python.nix (
2 { lib, ... }:
3
4 {
5 name = "portunus";
6 meta.maintainers = with lib.maintainers; [ SuperSandro2000 ];
7
8 nodes.machine = _: {
9 services.portunus = {
10 enable = true;
11 ldap.suffix = "dc=example,dc=org";
12 };
13 };
14
15 testScript = ''
16 machine.wait_for_unit("portunus.service")
17 machine.succeed("curl --fail -vvv http://localhost:8080/")
18 '';
19 }
20)