This reverts commit aab534b894c60e69199aba4cc57b8b3f8fd1a8c2 & uses the driverInteractive attribute for the test driver instead. This has the same effect but removes the extra module in the nixos-build-vms code.
		
			
				
	
	
		
			19 lines
		
	
	
		
			406 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			406 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 = ""; }).driverInteractive
 |