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 Normal View History

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