1 import ./make-test-python.nix ({ pkgs, ... }:
7 meta = with pkgs.lib.maintainers; {
8 maintainers = [ jappie ];
12 nodes.machine = { config, pkgs, ... }: {
23 appName = "test-bundle";
25 executable = pkgs.writeShellScript "run" ''
26 ${pkgs.python3}/bin/python -m http.server $PORT
34 machine.wait_for_unit("keter.service")
36 machine.wait_for_open_port(${toString port})
37 machine.wait_for_console_text("Activating app test-bundle with hosts: localhost")
40 machine.succeed("curl --fail http://localhost:${toString port}/")