1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/nixos/tests/photonvision.nix
2024-03-07 14:59:21 -08:00

22 lines
393 B
Nix

import ./make-test-python.nix ({ pkgs, lib, ... }:
{
name = "photonvision";
nodes = {
machine = { pkgs, ... }: {
services.photonvision = {
enable = true;
};
};
};
testScript = ''
start_all()
machine.wait_for_unit("photonvision.service")
machine.wait_for_open_port(5800)
'';
meta.maintainers = with lib.maintainers; [ max-niederman ];
})