From 9fa7624be75b1e1b3cc04371338388ec3e5f7438 Mon Sep 17 00:00:00 2001 From: Slava Date: Sun, 17 Mar 2024 11:59:10 +0000 Subject: [PATCH] Update test_lib_Cog.py --- tests/test_lib_Cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_lib_Cog.py b/tests/test_lib_Cog.py index b7e0f34..ea81468 100644 --- a/tests/test_lib_Cog.py +++ b/tests/test_lib_Cog.py @@ -6,7 +6,7 @@ from ..lib.CogsPrep import cog_list, work_with_cogs @mock.patch('discord_bot.lib.CogsPrep.cog_list') -async def test_cog_list(mock_cog_list): +def test_cog_list(mock_cog_list): with mock.patch('discord_bot.lib.CogsPrep.listdir') as MockClass: MockClass.return_value = ['cog1.py', 'cog2.py'] result = cog_list()