3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #97449 from AberDerBart/mpd

nixos/mpd: fix not properly testing for songs to be in the playlist
This commit is contained in:
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

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