nixos/mpd: fix not properly testing for songs to be in the playlist
This commit is contained in:
parent
c59ea8b8a0
commit
781d2c2f1e
@ -105,7 +105,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|||||||
for track in tracks.splitlines():
|
for track in tracks.splitlines():
|
||||||
server.succeed(f"{mpc} add {track}")
|
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
|
# Check we succeeded adding audio tracks to the playlist
|
||||||
assert len(added_tracks.splitlines()) > 0
|
assert len(added_tracks.splitlines()) > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user