nixos/tests/wordpress: Use curl --fail
This commit is contained in:
parent
6e46a88dfb
commit
d16e547f2e
|
@ -40,7 +40,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
|||
|
||||
with subtest("website returns welcome screen"):
|
||||
for site_name in site_names:
|
||||
assert "Welcome to the famous" in machine.succeed(f"curl -L {site_name}")
|
||||
assert "Welcome to the famous" in machine.succeed(f"curl -fL {site_name}")
|
||||
|
||||
with subtest("wordpress-init went through"):
|
||||
for site_name in site_names:
|
||||
|
|
Loading…
Reference in New Issue