1 import ../make-test-python.nix ({ pkgs, ... }:
4 meta = with pkgs.lib.maintainers; {
5 maintainers = [ jflanglois ];
7 nodes.machine = { pkgs, ... }: {
8 environment.systemPackages = [ pkgs.curl ];
11 backend = "[127.0.0.1]:80";
19 virtualHosts.localhost.documentRoot = ./example;
20 adminAddr = "noone@testing.nowhere";
28 machine.wait_for_unit("multi-user.target")
29 machine.wait_for_unit("hitch.service")
30 machine.wait_for_open_port(443)
31 assert "We are all good!" in machine.succeed("curl -fk https://localhost:443/index.txt")