nixosTests.nginx-status-page: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-30 14:07:00 +02:00
parent ff716504b0
commit 7877fe4368
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 68 additions and 70 deletions

View file

@ -811,7 +811,7 @@ in {
nginx-pubhtml = runTest ./nginx-pubhtml.nix;
nginx-redirectcode = runTest ./nginx-redirectcode.nix;
nginx-sso = runTest ./nginx-sso.nix;
nginx-status-page = handleTest ./nginx-status-page.nix {};
nginx-status-page = runTest ./nginx-status-page.nix;
nginx-tmpdir = handleTest ./nginx-tmpdir.nix {};
nginx-unix-socket = handleTest ./nginx-unix-socket.nix {};
nginx-variants = handleTest ./nginx-variants.nix {};

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, ... }:
{
name = "nginx-status-page";
@ -78,4 +77,3 @@ import ./make-test-python.nix (
expect_http_code(client, "200", "http://10.0.0.1/index.html")
'';
}
)