nixpkgs/nixos/tests/mopidy.nix

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

18 lines
278 B
Nix
Raw Permalink Normal View History

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