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
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,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, ... }:
{
{ pkgs, ... }:
{
name = "nginx-status-page";
meta = with pkgs.lib.maintainers; {
maintainers = [ h7x4 ];
@@ -77,5 +76,4 @@ import ./make-test-python.nix (
with subtest("client can access other page"):
expect_http_code(client, "200", "http://10.0.0.1/index.html")
'';
}
)
}