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