1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/tests/portunus.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
394 B
Nix
Raw Normal View History

2023-05-21 17:53:52 +01:00
import ./make-test-python.nix ({ lib, ... }:
{
name = "portunus";
meta.maintainers = with lib.maintainers; [ SuperSandro2000 ];
nodes.machine = _: {
services.portunus = {
enable = true;
ldap.suffix = "dc=example,dc=org";
};
};
testScript = ''
machine.wait_for_unit("portunus.service")
machine.succeed("curl --fail -vvv http://localhost:8080/")
'';
})