1 import ./make-test-python.nix ({ lib, ... }:
5 meta.maintainers = with lib.maintainers; [ pbsds ];
9 environment.systemPackages = [ pkgs.jq ];
16 password = "very_secret_password";
24 machine.wait_for_unit("polaris.service")
25 machine.wait_for_open_port(5050)
26 machine.succeed("curl http://localhost:5050/api/version")
27 machine.succeed("curl -X GET http://localhost:5050/api/initial_setup -H 'accept: application/json' | jq -e '.has_any_users == true'")