1 import ./make-test-python.nix ({ pkgs, lib, ...} :
4 secretsConfigFile = pkgs.writeText "secrets.json" (builtins.toJSON {
6 "S0_Legacy" = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
11 meta.maintainers = with lib.maintainers; [ graham33 ];
14 machine = { config, ... }: {
17 serialPort = "/dev/null";
18 extraFlags = ["--mock-driver"];
19 inherit secretsConfigFile;
27 machine.wait_for_unit("zwave-js.service")
28 machine.wait_for_open_port(3000)
29 machine.wait_until_succeeds("journalctl --since -1m --unit zwave-js --grep 'ZwaveJS server listening'")