summary refs log tree commit diff
path: root/nixos/tests/strongswan-swanctl.nix
diff options
context:
space:
mode:
authorJan Hrnko <jan.hrnko@satoshilabs.com>2019-11-06 12:43:08 +0100
committerJan Hrnko <jan.hrnko@satoshilabs.com>2019-11-06 12:43:08 +0100
commit1b6ca29f6d0099cc5a08196316c28ac5d42bb610 (patch)
tree1bfdefbcf85cc8959c52677e23731418642d6bd5 /nixos/tests/strongswan-swanctl.nix
parentc0c04737ed6279fb4e1a4640b5120c1ba32cb2c8 (diff)
nixos/strongswan-swanctl: port test to python
Diffstat (limited to 'nixos/tests/strongswan-swanctl.nix')
-rw-r--r--nixos/tests/strongswan-swanctl.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/strongswan-swanctl.nix b/nixos/tests/strongswan-swanctl.nix
index 9bab9349ea736..152c0d61c5434 100644
--- a/nixos/tests/strongswan-swanctl.nix
+++ b/nixos/tests/strongswan-swanctl.nix
@@ -16,7 +16,7 @@
 # See the NixOS manual for how to run this test:
 # https://nixos.org/nixos/manual/index.html#sec-running-nixos-tests-interactively
 
-import ./make-test.nix ({ pkgs, ...} :
+import ./make-test-python.nix ({ pkgs, ...} :
 
 let
   allowESP = "iptables --insert INPUT --protocol ESP --jump ACCEPT";
@@ -142,7 +142,7 @@ in {
 
   };
   testScript = ''
-    startAll();
-    $carol->waitUntilSucceeds("ping -c 1 alice");
+    start_all()
+    carol.wait_until_succeeds("ping -c 1 alice")
   '';
 })