diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-01-01 03:31:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-01 03:31:11 +0100 |
commit | fd7a019c7079140e9210698f3cfc1bbdad51a16b (patch) | |
tree | 7c3708628e8cb0af1dd9aed8607b0c86b6f4f6ad /nixos/tests | |
parent | 956820abc1debbc3b1943fbd83f09e910b6b5185 (diff) | |
parent | ab63902d1f44ddc755fa77b08dd3ba373e2b561f (diff) |
nixosTests.haka: port to python (#76707)
nixosTests.haka: port to python
Diffstat (limited to 'nixos/tests')
-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 6277ebb4933fd..3ca19cb0971c7 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") ''; }) |