diff options
Diffstat (limited to 'nixpkgs/nixos/tests/gotify-server.nix')
-rw-r--r-- | nixpkgs/nixos/tests/gotify-server.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/gotify-server.nix b/nixpkgs/nixos/tests/gotify-server.nix index c6e00686aed..c0b8ba43548 100644 --- a/nixpkgs/nixos/tests/gotify-server.nix +++ b/nixpkgs/nixos/tests/gotify-server.nix @@ -41,5 +41,10 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { ) assert title == "Gotify" + + # Ensure that the UI responds with a successfuly code and that the + # response is not empty + result = machine.succeed("curl -fsS localhost:3000") + assert result, "HTTP response from localhost:3000 must not be empty!" ''; }) |