mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +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, ... }: {
|
import ./make-test-python.nix (
|
||||||
name = "mopidy";
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
name = "mopidy";
|
||||||
|
|
||||||
nodes.machine = { ... }: {
|
nodes.machine =
|
||||||
services.mopidy.enable = true;
|
{ ... }:
|
||||||
};
|
{
|
||||||
|
services.mopidy.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.wait_for_unit("mopidy")
|
machine.wait_for_unit("mopidy")
|
||||||
machine.wait_for_open_port(6680)
|
machine.wait_for_open_port(6680)
|
||||||
'';
|
'';
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue