From 07940cc40890b337ee6b802596b938754fad099e Mon Sep 17 00:00:00 2001 From: ibizaman Date: Fri, 11 Jul 2025 15:44:27 +0200 Subject: [PATCH] move imports in a common place for jellyfin tests --- test/services/jellyfin.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/test/services/jellyfin.nix b/test/services/jellyfin.nix index cb85bcc..8f86688 100644 --- a/test/services/jellyfin.nix +++ b/test/services/jellyfin.nix @@ -19,6 +19,10 @@ let }; basic = { config, ... }: { + imports = [ + testLib.baseModule + ../../modules/services/jellyfin.nix + ]; test = { subdomain = "j"; }; @@ -93,8 +97,6 @@ in basic = jellyfinTest "basic" { nodes.server = { imports = [ - testLib.baseModule - ../../modules/services/jellyfin.nix basic ]; }; @@ -107,8 +109,6 @@ in backup = jellyfinTest "backup" { nodes.server = { config, ... }: { imports = [ - testLib.baseModule - ../../modules/services/jellyfin.nix basic (testLib.backup config.shb.jellyfin.backup) ]; @@ -122,10 +122,8 @@ in https = jellyfinTest "https" { nodes.server = { imports = [ - testLib.baseModule - ../../modules/services/jellyfin.nix - testLib.certs basic + testLib.certs https ]; }; @@ -138,8 +136,6 @@ in ldap = jellyfinTest "ldap" { nodes.server = { imports = [ - testLib.baseModule - ../../modules/services/jellyfin.nix basic testLib.ldap ldap @@ -154,10 +150,8 @@ in sso = jellyfinTest "sso" { nodes.server = { config, pkgs, ... }: { imports = [ - testLib.baseModule - ../../modules/services/jellyfin.nix - testLib.certs basic + testLib.certs https testLib.ldap (testLib.sso config.shb.certs.certs.selfsigned.n)