diff options
author | Jan Hrnko <jan.hrnko@satoshilabs.com> | 2019-11-06 12:43:08 +0100 |
---|---|---|
committer | Jan Hrnko <jan.hrnko@satoshilabs.com> | 2019-11-06 12:43:08 +0100 |
commit | 1b6ca29f6d0099cc5a08196316c28ac5d42bb610 (patch) | |
tree | 1bfdefbcf85cc8959c52677e23731418642d6bd5 /nixos/tests/strongswan-swanctl.nix | |
parent | c0c04737ed6279fb4e1a4640b5120c1ba32cb2c8 (diff) |
nixos/strongswan-swanctl: port test to python
Diffstat (limited to 'nixos/tests/strongswan-swanctl.nix')
-rw-r--r-- | nixos/tests/strongswan-swanctl.nix | 6 |
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") ''; }) |