mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
18 lines
278 B
Nix
18 lines
278 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)
|
|
'';
|
|
}
|
|
)
|