Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: reset rate limiter in notification integration tests

LearningCircuit948558e89a31
diff --git a/tests/notifications/test_manager.py b/tests/notifications/test_manager.py
index 41e19966bc..061e7b6a0d 100644
--- a/tests/notifications/test_manager.py
+++ b/tests/notifications/test_manager.py
@@ -512,6 +512,13 @@ class TestRateLimiter:
class TestIntegration:
"""Integration tests for NotificationManager."""
+ @pytest.fixture(autouse=True)
+ def reset_rate_limiter(self):
+ """Reset shared rate limiter before each test for isolation."""
+ NotificationManager._shared_rate_limiter = None
+ yield
+ NotificationManager._shared_rate_limiter = None
+
def test_full_notification_workflow(self, mocker):
"""Test complete notification workflow with settings snapshot."""
# Simulate background thread scenario