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

+2
View File
@@ -76,6 +76,7 @@ class ApiSurfaceTest(unittest.TestCase):
def test_restart_endpoint_calls_restart_state(self):
import asyncio
from unittest.mock import MagicMock
from zyrarbot.ui.api.routers.status_router import restart_bot
mock_request = MagicMock()
@@ -88,6 +89,7 @@ class ApiSurfaceTest(unittest.TestCase):
def test_voice_channels_payload_filters_unconnectable_channels(self):
from unittest.mock import MagicMock
from zyrarbot.ui.api.status_service import StatusService
mock_guild = MagicMock()