nixos/ntfy-sh: Fixed nixos test

This commit is contained in:
Julien Malka 2023-01-15 15:48:48 +01:00
parent 5291eac38a
commit d40d0ce7e6
No known key found for this signature in database
GPG Key ID: 6FC74C847011FD83

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