Unverified Commit df1262ba authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #210927 from JulienMalka/Ntfy-test-fix

nixos/ntfy-sh: Fixed nixos test
parents cf10d7ae d40d0ce7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -12,6 +12,8 @@ import ./make-test-python.nix {

    machine.wait_for_unit("multi-user.target")

    machine.wait_for_open_port(80)

    machine.succeed(f"curl -d '{msg}' localhost:80/test")

    notif = json.loads(machine.succeed("curl -s localhost:80/test/json?poll=1"))