2020-04-24 23:36:52 +00:00
|
|
|
{ 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; };
|
|
|
|
};
|
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
(makeTest { inherit nodes; testScript = ""; }).driverInteractive
|