refactor: track background tasks in application lifecycle and clean up codebase
Backend / Lint i formatowanie (pull_request) Successful in 15s
Backend / Testy i kontrakt API (pull_request) Successful in 26s
Panel / Lint, typy i build (pull_request) Failing after 36s
Backend / Testowy build obrazu (pull_request) Successful in 1m34s

This commit is contained in:
mmacierzanka committed 2026-09-13 16:58:46 +02:00
1 parent 4f39e9acb1
commit dadb5f8b0e
19 files changed
+71 -55

No files matched your search

+3 -2
View File
@@ -40,8 +40,9 @@ class ShutdownVoiceCleanupTests(unittest.IsolatedAsyncioTestCase):
mock_guild.me.voice.channel = MagicMock()
mock_guild.change_voice_state = AsyncMock()
with patch.object(type(self.bot), "voice_clients", [mock_vc]), patch.object(
type(self.bot), "guilds", [mock_guild]
with (
patch.object(type(self.bot), "voice_clients", [mock_vc]),
patch.object(type(self.bot), "guilds", [mock_guild]),
):
await self.bot.disconnect_all_voice()