Merge pull request #97449 from AberDerBart/mpd

nixos/mpd: fix not properly testing for songs to be in the playlist
gstqt5
Sandro 2021-01-18 13:47:57 +01:00 committed by GitHub
commit 4eccd6f731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,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