summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2019-12-15 18:53:26 +0100
committerChristian Kampka <christian@kampka.net>2019-12-15 20:08:02 +0100
commitd76ab647e67a39d9caa681b1724ea4d6318082cd (patch)
tree48b6c0a79f2b99895d78e2b544b5170df7f18560 /nixos/tests
parentd58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e (diff)
downloadnixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.tar
nixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.tar.gz
nixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.tar.bz2
nixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.tar.lz
nixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.tar.xz
nixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.tar.zst
nixpkgs-d76ab647e67a39d9caa681b1724ea4d6318082cd.zip
nixosTests.pdns-recursor: Port tests not python
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/pdns-recursor.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/pdns-recursor.nix b/nixos/tests/pdns-recursor.nix
index bf6e6093d69..de1b60e0b1c 100644
--- a/nixos/tests/pdns-recursor.nix
+++ b/nixos/tests/pdns-recursor.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
   name = "powerdns";
 
   nodes.server = { ... }: {
@@ -6,7 +6,7 @@ import ./make-test.nix ({ pkgs, ... }: {
   };
 
   testScript = ''
-    $server->waitForUnit("pdns-recursor");
-    $server->waitForOpenPort("53");
+    server.wait_for_unit("pdns-recursor")
+    server.wait_for_open_port("53")
   '';
 })