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

nixos/ntfy-sh: Fixed nixos test
This commit is contained in:
Ryan Lahfa 2023-01-15 17:06:50 +01:00 committed by GitHub
commit df1262baae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"))