diff options
Diffstat (limited to 'nixos/tests/pykms.nix')
-rw-r--r-- | nixos/tests/pykms.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/tests/pykms.nix b/nixos/tests/pykms.nix new file mode 100644 index 0000000000000..14d776a2f113e --- /dev/null +++ b/nixos/tests/pykms.nix @@ -0,0 +1,14 @@ +import ./make-test-python.nix ({ pkgs, ... }: + { + name = "pykms-test"; + meta.maintainers = with pkgs.lib.maintainers; [ zopieux ]; + + nodes.machine = { config, lib, pkgs, ... }: { + services.pykms.enable = true; + }; + + testScript = '' + machine.wait_for_unit("pykms.service") + machine.succeed("${pkgs.pykms}/bin/client") + ''; + }) |