1 import ./make-test-python.nix (
8 meta = with pkgs.lib.maintainers; {
9 maintainers = [ patrickdag ];
14 settings.HBOX_WEB_PORT = port;
18 machine.wait_for_unit("homebox.service")
19 machine.wait_for_open_port(${port})
21 machine.succeed("curl --fail -X GET 'http://localhost:${port}/'")
22 out = machine.succeed("curl --fail 'http://localhost:${port}/api/v1/status'")
23 assert '"health":true' in out