1import ./make-test-python.nix ({ pkgs, lib, ... }:
2{
3 name = "photonvision";
4
5 nodes = {
6 machine = { pkgs, ... }: {
7 services.photonvision = {
8 enable = true;
9 };
10 };
11 };
12
13 testScript = ''
14 start_all()
15 machine.wait_for_unit("photonvision.service")
16 machine.wait_for_open_port(5800)
17 '';
18
19 meta.maintainers = with lib.maintainers; [ max-niederman ];
20})
21