fixed start after move

This commit is contained in:
bacon
2024-03-18 01:04:53 +03:00
parent 361a39420a
commit d352541a86
2 changed files with 1 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
version: "1.0"
bootstrap: |
rm -rf .idea
pip install --quiet -U -r requirements.txt
profile:
name: qodana.recommended

View File

@@ -25,7 +25,7 @@ def test_cog_list():
@pytest.mark.parametrize("cog", ["cog1.py", "cog2"])
@pytest.mark.parametrize("what_do", ['load', 'unload', 'reload', 'disable', 'enable'])
async def test_work_with_cogs(what_do, cog):
with (mock.patch('bot.lib.CogsPrep.rename') as mock_rename):
with mock.patch('bot.lib.CogsPrep.rename') as mock_rename:
mock_rename.return_value = None
mock_bot = mock.MagicMock(spec=CommonBotBase)
result = await work_with_cogs(what_do, mock_bot, cog)