From ce28c3c4e9b58a37ad99aa339e4340ce9f9b9fca Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 28 Oct 2026 15:01:20 +0100 Subject: tests: Remove pointless module imports The required modules are already imported by the `runTest` function. --- tests/by-name/mo/monitoring-basic/test.nix | 7 ------- tests/by-name/mo/monitoring-federation/test.nix | 19 ------------------- 2 files changed, 26 deletions(-) (limited to 'tests/by-name/mo') diff --git a/tests/by-name/mo/monitoring-basic/test.nix b/tests/by-name/mo/monitoring-basic/test.nix index a4d67a9..ce225ce 100644 --- a/tests/by-name/mo/monitoring-basic/test.nix +++ b/tests/by-name/mo/monitoring-basic/test.nix @@ -1,5 +1,4 @@ { - extraModules, vhack, ... }: let @@ -16,12 +15,6 @@ in client = {}; server = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - # there are no SMART available disk in the VM, so this service always fails. systemd.services."smartd".enable = false; diff --git a/tests/by-name/mo/monitoring-federation/test.nix b/tests/by-name/mo/monitoring-federation/test.nix index 106bc20..278626f 100644 --- a/tests/by-name/mo/monitoring-federation/test.nix +++ b/tests/by-name/mo/monitoring-federation/test.nix @@ -1,5 +1,4 @@ { - extraModules, pkgs, vhack, ... @@ -19,12 +18,6 @@ in nodes = { server2 = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - environment.systemPackages = [ pkgs.curl ]; @@ -40,12 +33,6 @@ in }; }; server3 = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - vhack = { monitoring = { prometheus = { @@ -57,12 +44,6 @@ in }; }; server4 = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - vhack = { monitoring = { prometheus = { -- cgit v1.3.1