9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
14 lines
401 B
Nix
14 lines
401 B
Nix
import ./make-test-python.nix ({ lib, ... }: {
|
|
name = "homepage-dashboard";
|
|
meta.maintainers = with lib.maintainers; [ jnsgruk ];
|
|
|
|
nodes.machine = { pkgs, ... }: {
|
|
services.homepage-dashboard.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("homepage-dashboard.service")
|
|
machine.wait_for_open_port(8082)
|
|
machine.succeed("curl --fail http://localhost:8082/")
|
|
'';
|
|
})
|