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.

style: Apply ruff formatting to test files

LearningCircuit260470a0781e
diff --git a/tests/api_tests/fix_search_engines.py b/tests/api_tests/fix_search_engines.py
index 4dbf2f0b47..85f8928ea0 100644
--- a/tests/api_tests/fix_search_engines.py
+++ b/tests/api_tests/fix_search_engines.py
@@ -80,7 +80,9 @@ if __name__ == "__main__":
os.environ["LDR_ALLOW_UNENCRYPTED"] = "true"
# Fix for test user
- fix_search_engines_for_user("testuser", "testpassword123") # pragma: allowlist secret
+ fix_search_engines_for_user(
+ "testuser", "testpassword123"
+ ) # pragma: allowlist secret
# Also fix for any other common test users
fix_search_engines_for_user("apitest_user", "apitest_pass123")
diff --git a/tests/api_tests/test_all_endpoints.py b/tests/api_tests/test_all_endpoints.py
index 87589f2034..43aa6f5809 100644
--- a/tests/api_tests/test_all_endpoints.py
+++ b/tests/api_tests/test_all_endpoints.py
@@ -47,7 +47,9 @@ class ComprehensiveAPITester:
return None
def ensure_authenticated(
- self, username: str = None, password: str = "testpassword123" # pragma: allowlist secret
+ self,
+ username: str = None,
+ password: str = "testpassword123", # pragma: allowlist secret
):
"""Ensure user is authenticated, register if needed."""
if username is None:
diff --git a/tests/api_tests/test_comprehensive_apis.py b/tests/api_tests/test_comprehensive_apis.py
index 1ac5f7c959..bfe031666a 100644
--- a/tests/api_tests/test_comprehensive_apis.py
+++ b/tests/api_tests/test_comprehensive_apis.py
@@ -46,7 +46,9 @@ class APITester:
return None
def ensure_authenticated(
- self, username: str = None, password: str = "testpassword123" # pragma: allowlist secret
+ self,
+ username: str = None,
+ password: str = "testpassword123", # pragma: allowlist secret
):
"""Ensure user is authenticated, register if needed."""
# Generate random username if not provided