nixpkgs/nixos/tests/mopidy.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
238 B
Nix
Raw Normal View History

2024-11-14 22:40:14 +00:00
import ./make-test-python.nix ({ pkgs, ... }: {
name = "mopidy";
nodes.machine = { ... }: {
services.mopidy.enable = true;
};
testScript = ''
machine.wait_for_unit("mopidy")
machine.wait_for_open_port(6680)
'';
})