1 import ./make-test-python.nix ( { pkgs, ... }: let
4 name = "opentabletdriver";
6 maintainers = with pkgs.lib.maintainers; [ thiagokokada ];
9 nodes.machine = { pkgs, ... }:
12 ./common/user-account.nix
15 test-support.displayManager.auto.user = testUser;
16 hardware.opentabletdriver.enable = true;
23 machine.wait_for_unit("opentabletdriver.service", "${testUser}")
25 machine.succeed("cat /etc/udev/rules.d/99-opentabletdriver.rules")
26 # Will fail if service is not running
27 # Needs to run as the same user that started the service
28 machine.succeed("su - ${testUser} -c 'otd detect'")