2012-03-02 12:38:22 +00:00
|
|
|
{ system ? builtins.currentSystem
|
2018-11-11 08:41:11 +00:00
|
|
|
, config ? {}
|
2010-10-21 23:50:12 +01:00
|
|
|
, networkExpr
|
|
|
|
}:
|
|
|
|
|
2020-04-13 16:43:44 +01:00
|
|
|
let
|
|
|
|
nodes = builtins.mapAttrs (vm: module: {
|
|
|
|
_file = "${networkExpr}@node-${vm}";
|
|
|
|
imports = [ module ];
|
|
|
|
}) (import networkExpr);
|
|
|
|
in
|
2011-04-27 14:01:42 +01:00
|
|
|
|
2020-02-15 17:49:18 +00:00
|
|
|
with import ../../../../lib/testing-python.nix {
|
2018-11-11 08:41:11 +00:00
|
|
|
inherit system;
|
2018-11-23 12:43:47 +00:00
|
|
|
pkgs = import ../../../../.. { inherit system config; };
|
2018-11-11 08:41:11 +00:00
|
|
|
};
|
2011-01-16 21:57:09 +00:00
|
|
|
|
2014-06-09 12:36:26 +01:00
|
|
|
(makeTest { inherit nodes; testScript = ""; }).driver
|