nixosTests.authelia: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-13 23:48:27 +01:00
parent 3f2541bbb1
commit 56558f8c94
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 175 additions and 179 deletions

View file

@ -184,7 +184,7 @@ in {
atuin = runTest ./atuin.nix; atuin = runTest ./atuin.nix;
audiobookshelf = runTest ./audiobookshelf.nix; audiobookshelf = runTest ./audiobookshelf.nix;
auth-mysql = runTest ./auth-mysql.nix; auth-mysql = runTest ./auth-mysql.nix;
authelia = handleTest ./authelia.nix {}; authelia = runTest ./authelia.nix;
auto-cpufreq = handleTest ./auto-cpufreq.nix {}; auto-cpufreq = handleTest ./auto-cpufreq.nix {};
autobrr = handleTest ./autobrr.nix {}; autobrr = handleTest ./autobrr.nix {};
avahi = handleTest ./avahi.nix {}; avahi = handleTest ./avahi.nix {};

View file

@ -1,5 +1,4 @@
# Test Authelia as an auth server for Traefik as a reverse proxy of a local web service # Test Authelia as an auth server for Traefik as a reverse proxy of a local web service
import ./make-test-python.nix (
{ lib, ... }: { lib, ... }:
{ {
name = "authelia"; name = "authelia";
@ -8,9 +7,7 @@ import ./make-test-python.nix (
nodes = { nodes = {
authelia = authelia =
{ {
config,
pkgs, pkgs,
lib,
... ...
}: }:
{ {
@ -184,4 +181,3 @@ import ./make-test-python.nix (
authelia.succeed("curl --insecure -sSf -u 'bob:password' -H Host:static-basic-auth.example.com https://authelia:443/") authelia.succeed("curl --insecure -sSf -u 'bob:password' -H Host:static-basic-auth.example.com https://authelia:443/")
''; '';
} }
)