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: format test file for ruff compliance

LearningCircuit539034a5ce6d
diff --git a/tests/research_library/services/test_pdf_storage_manager.py b/tests/research_library/services/test_pdf_storage_manager.py
index dbee363032..fbf36289ca 100644
--- a/tests/research_library/services/test_pdf_storage_manager.py
+++ b/tests/research_library/services/test_pdf_storage_manager.py
@@ -310,7 +310,9 @@ class TestPDFStorageManagerUpgradeToPdf:
class TestPDFStorageManagerFilesystemWrite:
"""Tests for actual filesystem write operations."""
- def test_saves_to_filesystem_without_encoding_error(self, tmp_path, mock_pdf_content):
+ def test_saves_to_filesystem_without_encoding_error(
+ self, tmp_path, mock_pdf_content
+ ):
"""Should save binary PDF to filesystem without encoding errors.
Regression test for bug where write_file_verified passed encoding
@@ -334,7 +336,9 @@ class TestPDFStorageManagerFilesystemWrite:
saved_content = result_path.read_bytes()
assert saved_content == mock_pdf_content
- def test_filesystem_write_uses_settings_snapshot(self, tmp_path, mock_pdf_content):
+ def test_filesystem_write_uses_settings_snapshot(
+ self, tmp_path, mock_pdf_content
+ ):
"""Should pass settings_snapshot to write_file_verified.
Regression test for bug where settings couldn't be found because