nixos/tests/uwsgi: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:19:47 -07:00 committed by Frederik Rietdijk
parent ba0eda6cc5
commit c69d4eda3d
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,6 @@ import ./make-test-python.nix ({ pkgs, ... }:
machine.wait_for_unit("multi-user.target")
machine.wait_for_unit("uwsgi.service")
machine.wait_for_open_port(8000)
assert "Hello World" in machine.succeed("curl -v 127.0.0.1:8000")
assert "Hello World" in machine.succeed("curl -fv 127.0.0.1:8000")
'';
})