Some checks failed
CI / test (pull_request) Has been cancelled
Add 15 tests across 5 test classes: - TestTelegramClientInit (4 tests): disabled scenarios, enabled with credentials - TestNotificationSending (6 tests): disabled mode, message format, API errors, timeouts, session management - TestRateLimiting (1 test): rate limiter enforcement - TestMessagePriorities (2 tests): priority emoji verification - TestClientCleanup (2 tests): session cleanup Uses pytest.mark.asyncio for async tests. Mocks aiohttp responses with AsyncMock. Follows test patterns from test_broker.py. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
9.2 KiB
9.2 KiB