mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/mopidy: fmt
This commit is contained in:
parent
8f6ffd06a4
commit
dddc9d800a
1 changed files with 15 additions and 10 deletions
|
@ -1,12 +1,17 @@
|
|||
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
name = "mopidy";
|
||||
import ./make-test-python.nix (
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
name = "mopidy";
|
||||
|
||||
nodes.machine = { ... }: {
|
||||
services.mopidy.enable = true;
|
||||
};
|
||||
nodes.machine =
|
||||
{ ... }:
|
||||
{
|
||||
services.mopidy.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("mopidy")
|
||||
machine.wait_for_open_port(6680)
|
||||
'';
|
||||
})
|
||||
testScript = ''
|
||||
machine.wait_for_unit("mopidy")
|
||||
machine.wait_for_open_port(6680)
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue