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: update authentication security tests to handle tuple return from create_app()

LearningCircuit6b057ec8f76f
diff --git a/tests/security/test_auth_security.py b/tests/security/test_auth_security.py
index de9e4117d3..4bc708376b 100644
--- a/tests/security/test_auth_security.py
+++ b/tests/security/test_auth_security.py
@@ -79,7 +79,7 @@ class TestSessionSecurity:
"""Create a test client."""
from src.local_deep_research.web.app import create_app
- app = create_app()
+ app, _ = create_app() # Unpack tuple (app, socket_service)
app.config["TESTING"] = True
app.config["SECRET_KEY"] = "test-secret-key"
return app.test_client()
@@ -166,7 +166,7 @@ class TestAccessControl:
"""Create a test client."""
from src.local_deep_research.web.app import create_app
- app = create_app()
+ app, _ = create_app() # Unpack tuple (app, socket_service)
app.config["TESTING"] = True
return app.test_client()
@@ -245,7 +245,7 @@ class TestAuthenticationEdgeCases:
"""Create a test client."""
from src.local_deep_research.web.app import create_app
- app = create_app()
+ app, _ = create_app() # Unpack tuple (app, socket_service)
app.config["TESTING"] = True
app.config["WTF_CSRF_ENABLED"] = False
return app.test_client()