From cad3144f5b8a7327f332f308bb57afe9b9f5c308 Mon Sep 17 00:00:00 2001 From: PredaaA <46051820+PredaaA@users.noreply.github.com> Date: Thu, 17 Feb 2022 00:32:12 +0100 Subject: [PATCH] Assert from player. --- tests/test_player_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_player_manager.py b/tests/test_player_manager.py index 693ba4f2..af067e80 100644 --- a/tests/test_player_manager.py +++ b/tests/test_player_manager.py @@ -53,4 +53,4 @@ async def test_autoconnect(bot, voice_channel, voice_server_update, voice_state_ await player.on_voice_state_update(state) assert len(lavalink.all_players()) == 1 - assert lavalink.get_player(voice_channel.guild.id).channel == voice_channel + assert node.get_player(voice_channel.guild.id) == player