nixos/strongswan-swanctl: port test to python

This commit is contained in:
Jan Hrnko 2019-11-06 12:43:08 +01:00
parent c0c04737ed
commit 1b6ca29f6d

View File

@ -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")
'';
})