From 57fbd247da696616957905dd83a0a713d0ac308c Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sat, 25 Sep 2021 20:41:33 +0200 Subject: [PATCH] Better test assertion --- test/test_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_bot.py b/test/test_bot.py index 4595652..b7d4968 100644 --- a/test/test_bot.py +++ b/test/test_bot.py @@ -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"