diff options
author | Jan Hrnko <jan.hrnko@satoshilabs.com> | 2019-11-09 20:18:09 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-22 20:38:56 +0100 |
commit | 35f16042a2e1194f9a85bda97a83d0a8aed7871d (patch) | |
tree | 9a25791810574ad7fc5e5cc68eb28ffe9bcdf008 /nixos/tests/icingaweb2.nix | |
parent | e4e1eea6257440050429d866b761f8ffa4e9c89c (diff) |
nixos/icingaweb2: port test to python
Diffstat (limited to 'nixos/tests/icingaweb2.nix')
-rw-r--r-- | nixos/tests/icingaweb2.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/icingaweb2.nix b/nixos/tests/icingaweb2.nix index ea1b94c526b1..2f65604539c1 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") ''; }) |