mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 10:34:16 +00:00
13 lines
238 B
Nix
13 lines
238 B
Nix
|
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)
|
||
|
'';
|
||
|
})
|