Loading nixos/tests/all-tests.nix +1 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,7 @@ in { darling = handleTest ./darling.nix {}; dae = handleTest ./dae.nix {}; dconf = handleTest ./dconf.nix {}; deconz = handleTest ./deconz.nix {}; deepin = handleTest ./deepin.nix {}; deluge = handleTest ./deluge.nix {}; dendrite = handleTest ./matrix/dendrite.nix {}; Loading nixos/tests/deconz.nix 0 → 100644 +28 −0 Original line number Diff line number Diff line import ./make-test-python.nix ({ pkgs, lib, ... }: let httpPort = 800; in { name = "deconz"; meta.maintainers = with lib.maintainers; [ bjornfor ]; nodes.machine = { config, pkgs, lib, ... }: { nixpkgs.config.allowUnfree = true; services.deconz = { enable = true; inherit httpPort; extraArgs = [ "--dbg-err=2" "--dbg-info=2" ]; }; }; testScript = '' machine.wait_for_unit("deconz.service") machine.succeed("curl -sfL http://localhost:${toString httpPort}") ''; }) Loading
nixos/tests/all-tests.nix +1 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,7 @@ in { darling = handleTest ./darling.nix {}; dae = handleTest ./dae.nix {}; dconf = handleTest ./dconf.nix {}; deconz = handleTest ./deconz.nix {}; deepin = handleTest ./deepin.nix {}; deluge = handleTest ./deluge.nix {}; dendrite = handleTest ./matrix/dendrite.nix {}; Loading
nixos/tests/deconz.nix 0 → 100644 +28 −0 Original line number Diff line number Diff line import ./make-test-python.nix ({ pkgs, lib, ... }: let httpPort = 800; in { name = "deconz"; meta.maintainers = with lib.maintainers; [ bjornfor ]; nodes.machine = { config, pkgs, lib, ... }: { nixpkgs.config.allowUnfree = true; services.deconz = { enable = true; inherit httpPort; extraArgs = [ "--dbg-err=2" "--dbg-info=2" ]; }; }; testScript = '' machine.wait_for_unit("deconz.service") machine.succeed("curl -sfL http://localhost:${toString httpPort}") ''; })