1 import ./make-test-python.nix ({ lib, ... }: {
3 meta.maintainers = with lib.maintainers; [ ambroisie ];
10 listenAddress = "0.0.0.0";
14 networking.firewall.allowedTCPPorts = [ 9876 ];
23 machine.wait_for_unit("pyload.service")
25 with subtest("Web interface accessible locally"):
26 machine.wait_until_succeeds("curl -fs localhost:9876")
28 client.wait_for_unit("network.target")
30 with subtest("Web interface accessible from a different machine"):
31 client.wait_until_succeeds("curl -fs machine:9876")