1 import ./make-test-python.nix ({ pkgs, ... }:
7 meta = with pkgs.lib.maintainers; {
8 maintainers = [ jappie ];
12 nodes.machine = { config, pkgs, ... }: {
17 cli-port = 123; # just adding this to test the freeform
24 appName = "test-bundle";
26 executable = pkgs.writeShellScript "run" ''
27 ${pkgs.python3}/bin/python -m http.server $PORT
35 machine.wait_for_unit("keter.service")
37 machine.wait_for_open_port(${toString port})
38 machine.wait_for_console_text("Activating app test-bundle with hosts: localhost")
41 machine.succeed("curl --fail http://localhost:${toString port}/")