about summary refs log tree commit diff stats
path: root/tests/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-23 10:25:54 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-23 10:25:54 +0100
commit7cbeaa437565e2154ae68835e244b9164de660f6 (patch)
tree9f53624f456e144a2e644c5df72ad6308ad4724f /tests/default.nix
parenttests(tests): Initialize infrastructure and documentation for it (diff)
downloadnixos-config-7cbeaa437565e2154ae68835e244b9164de660f6.tar.gz
nixos-config-7cbeaa437565e2154ae68835e244b9164de660f6.zip
tests({tests,modules}): Couple via a co-import
Diffstat (limited to '')
-rw-r--r--tests/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/default.nix b/tests/default.nix
index 9803c99c..a5ca5deb 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -28,6 +28,13 @@
           mkTest
           ;
       };
+
+    coImportsNameFunction = {
+      shard,
+      name,
+    }:
+      ../modules/by-name + "/${shard}" + "/${name}" + "/module.nix";
+    coImportsWarnMessageObject = "modules";
   };
 in
   tests