diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-11-27 20:22:16 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-11-27 20:22:16 +0100 |
commit | a9a271792d59aa15b6cc4bc5dfafde9fd9529815 (patch) | |
tree | 780e8e4d26fb6b0cd7f3075ec8de5a4ed4e56573 /nixos/tests/ndppd.nix | |
parent | d35bd2f7b8961229ca7c97d1b8109bede86cbf98 (diff) |
nixos/ndppd: port test to python test-driver
Diffstat (limited to 'nixos/tests/ndppd.nix')
-rw-r--r-- | nixos/tests/ndppd.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/tests/ndppd.nix b/nixos/tests/ndppd.nix index 6a6f602726dec..b67b26a79341f 100644 --- a/nixos/tests/ndppd.nix +++ b/nixos/tests/ndppd.nix @@ -1,4 +1,4 @@ -import ./make-test.nix ({ pkgs, lib, ...} : { +import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "ndppd"; meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ fpletz ]; @@ -52,9 +52,9 @@ import ./make-test.nix ({ pkgs, lib, ...} : { }; testScript = '' - startAll; - $server->waitForUnit("multi-user.target"); - $upstream->waitForUnit("multi-user.target"); - $upstream->waitUntilSucceeds("ping -c5 fd42::2"); + start_all() + server.wait_for_unit("multi-user.target") + upstream.wait_for_unit("multi-user.target") + upstream.wait_until_succeeds("ping -c5 fd42::2") ''; }) |