Better test assertion
This commit is contained in:
parent
01cc686520
commit
57fbd247da
|
@ -94,5 +94,5 @@ async def test_bot_playback(mbot, ctx):
|
|||
ctx.voice_client.play.call_args.kwargs["after"](None) # Execute callback for song finish event
|
||||
await asyncio.sleep(0)
|
||||
assert \
|
||||
ffmpeg_pcm_audio.call_args.args == (url,), \
|
||||
f"FFmpegPCMAudio was not called with {url}"
|
||||
ctx.voice_client.play.call_args.args == (time_of_dying_audio,), \
|
||||
"Did not queue next song"
|
||||
|
|
Loading…
Reference in New Issue