1 import ./make-test-python.nix ({pkgs, lib, ... }: {
12 services.mpd.enable = true;
17 machine.wait_for_unit("mympd.service");
19 # Ensure that mympd can connect to mpd
20 machine.wait_until_succeeds(
21 "journalctl -eu mympd -o cat | grep 'Connected to MPD'"
24 # Ensure that the web server is working
25 machine.succeed("curl http://localhost:8081 --compressed | grep -o myMPD")