about summary refs log tree commit diff
path: root/nixos/tests/icingaweb2.nix
diff options
context:
space:
mode:
authorJan Hrnko <jan.hrnko@satoshilabs.com>2019-11-09 20:18:09 +0100
committerFlorian Klink <flokli@flokli.de>2019-11-22 20:38:56 +0100
commit35f16042a2e1194f9a85bda97a83d0a8aed7871d (patch)
tree9a25791810574ad7fc5e5cc68eb28ffe9bcdf008 /nixos/tests/icingaweb2.nix
parente4e1eea6257440050429d866b761f8ffa4e9c89c (diff)
nixos/icingaweb2: port test to python
Diffstat (limited to 'nixos/tests/icingaweb2.nix')
-rw-r--r--nixos/tests/icingaweb2.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/icingaweb2.nix b/nixos/tests/icingaweb2.nix
index ea1b94c526b13..2f65604539c11 100644
--- a/nixos/tests/icingaweb2.nix
+++ b/nixos/tests/icingaweb2.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
   name = "icingaweb2";
   meta = with pkgs.stdenv.lib.maintainers; {
     maintainers = [ das_j ];
@@ -64,8 +64,8 @@ import ./make-test.nix ({ pkgs, ... }: {
   };
 
   testScript = ''
-    startAll();
-    $icingaweb2->waitForUnit("multi-user.target");
-    $icingaweb2->succeed("curl -sSf http://icingaweb2/authentication/login");
+    start_all()
+    icingaweb2.wait_for_unit("multi-user.target")
+    icingaweb2.succeed("curl -sSf http://icingaweb2/authentication/login")
   '';
 })