8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
18 lines
395 B
Nix
18 lines
395 B
Nix
{ system ? builtins.currentSystem
|
|
, config ? {}
|
|
, networkExpr
|
|
}:
|
|
|
|
let
|
|
nodes = builtins.mapAttrs (vm: module: {
|
|
_file = "${networkExpr}@node-${vm}";
|
|
imports = [ module ];
|
|
}) (import networkExpr);
|
|
in
|
|
|
|
with import ../../../../lib/testing-python.nix {
|
|
inherit system;
|
|
pkgs = import ../../../../.. { inherit system config; };
|
|
};
|
|
|
|
(makeTest { inherit nodes; testScript = ""; }).driver
|