diff options
author | Oleksii Filonenko <brightone@protonmail.com> | 2019-12-30 17:57:00 +0200 |
---|---|---|
committer | Oleksii Filonenko <brightone@protonmail.com> | 2019-12-30 17:57:00 +0200 |
commit | ab63902d1f44ddc755fa77b08dd3ba373e2b561f (patch) | |
tree | bb7bcdb154d419b926dbb85508e55c219ec80097 /nixos | |
parent | 1a5cdc8fc332f8ac746b92b2e69c91c8813529ee (diff) | |
download | nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.tar nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.tar.gz nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.tar.bz2 nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.tar.lz nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.tar.xz nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.tar.zst nixpkgs-ab63902d1f44ddc755fa77b08dd3ba373e2b561f.zip |
nixosTests.haka: port to python
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/haka.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/tests/haka.nix b/nixos/tests/haka.nix index 6277ebb4933..3ca19cb0971 100644 --- a/nixos/tests/haka.nix +++ b/nixos/tests/haka.nix @@ -1,6 +1,6 @@ # This test runs haka and probes it with hakactl -import ./make-test.nix ({ pkgs, ...} : { +import ./make-test-python.nix ({ pkgs, ...} : { name = "haka"; meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ tvestelind ]; @@ -15,10 +15,10 @@ import ./make-test.nix ({ pkgs, ...} : { }; testScript = '' - startAll; + start_all() - $haka->waitForUnit("haka.service"); - $haka->succeed("hakactl status"); - $haka->succeed("hakactl stop"); + haka.wait_for_unit("haka.service") + haka.succeed("hakactl status") + haka.succeed("hakactl stop") ''; }) |