about summary refs log tree commit diff
path: root/nixos/tests/pykms.nix
blob: 14d776a2f113e2e5d64fb5ddb0c82dcc4db4d209 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")
    '';
  })