nixos/icingaweb2: port test to python

Changed files
+4 -4
nixos
+4 -4
nixos/tests/icingaweb2.nix
···
-
import ./make-test.nix ({ pkgs, ... }: {
name = "icingaweb2";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ das_j ];
···
};
testScript = ''
-
startAll();
-
$icingaweb2->waitForUnit("multi-user.target");
-
$icingaweb2->succeed("curl -sSf http://icingaweb2/authentication/login");
'';
})
···
+
import ./make-test-python.nix ({ pkgs, ... }: {
name = "icingaweb2";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ das_j ];
···
};
testScript = ''
+
start_all()
+
icingaweb2.wait_for_unit("multi-user.target")
+
icingaweb2.succeed("curl -sSf http://icingaweb2/authentication/login")
'';
})