about summary refs log tree commit diff
path: root/nixos/lib/testing-python.nix
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-10-19 17:20:27 +0200
committerAndreas Rammhold <andreas@rammhold.de>2020-10-19 17:39:48 +0200
commit20893b3a700a5818aa4769b1c00c1a99c171af02 (patch)
tree361fce9c8c883daa86ebe03eb152b73b4633fe57 /nixos/lib/testing-python.nix
parentc096880d46115c43ea254efc52de32dc3fe58913 (diff)
nixos/tests: expose both the interactive and non-interactive driver
For a lot of the work the non-interactive drivers are enough and it is
probably a good idea to keep it accessible for debugging without
touching the Nix expression.
Diffstat (limited to 'nixos/lib/testing-python.nix')
-rw-r--r--nixos/lib/testing-python.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix
index 69cad8cdceb1f..302c7f78bf8e7 100644
--- a/nixos/lib/testing-python.nix
+++ b/nixos/lib/testing-python.nix
@@ -172,7 +172,8 @@ rec {
       else
         test // {
           inherit nodes test;
-          driver = driver testDriverInteractive;
+          driver = driver testDriver;
+          driverInteractive = driver testDriverInteractive;
         };
 
   runInMachine =