From 781d2c2f1e8b509d3083b3e27d4a8d9712f08101 Mon Sep 17 00:00:00 2001 From: Jonas Grosse-Holz Date: Tue, 8 Sep 2020 15:40:45 +0200 Subject: [PATCH] nixos/mpd: fix not properly testing for songs to be in the playlist --- nixos/tests/mpd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/mpd.nix b/nixos/tests/mpd.nix index 60aef586ad5c..76732c882bda 100644 --- a/nixos/tests/mpd.nix +++ b/nixos/tests/mpd.nix @@ -105,7 +105,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: for track in tracks.splitlines(): server.succeed(f"{mpc} add {track}") - _, added_tracks = server.execute(f"{mpc} listall") + _, added_tracks = server.execute(f"{mpc} playlist") # Check we succeeded adding audio tracks to the playlist assert len(added_tracks.splitlines()) > 0