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.

test: delete 4 'assert True' placeholder tests across 3 files (#4290)

LearningCircuit04a9c0e51e82
diff --git a/tests/advanced_search_system/strategies/test_topic_organization_strategy.py b/tests/advanced_search_system/strategies/test_topic_organization_strategy.py
index 96564caa8f..ae073b5d3a 100644
--- a/tests/advanced_search_system/strategies/test_topic_organization_strategy.py
+++ b/tests/advanced_search_system/strategies/test_topic_organization_strategy.py
@@ -300,46 +300,6 @@ class TestLeadSourceReselection:
assert result is False
- def test_reselect_lead_sources(self):
- """Reselect lead sources updates topics."""
- from local_deep_research.advanced_search_system.strategies.topic_organization_strategy import (
- TopicOrganizationStrategy,
- )
- from local_deep_research.advanced_search_system.findings.topic import (
- Topic,
- )
-
- mock_search = Mock()
- mock_model = Mock()
- mock_model.invoke.return_value = Mock(content="0")
-
- strategy = TopicOrganizationStrategy(
- search=mock_search,
- model=mock_model,
- )
-
- topic = Topic(
- id="t1",
- title="Topic",
- lead_source={
- "title": "Lead",
- "snippet": "Content",
- "link": "http://lead.com",
- },
- )
- topic.add_supporting_source(
- {
- "title": "Support",
- "snippet": "Support content",
- "link": "http://support.com",
- }
- )
-
- strategy._reselect_lead_sources([topic])
-
- # Method should complete without error
- assert True
-
class TestTopicRelationships:
"""Tests for topic relationship methods."""
diff --git a/tests/news/test_rating_storage_extended.py b/tests/news/test_rating_storage_extended.py
index 1232a36f7d..e50f141b60 100644
--- a/tests/news/test_rating_storage_extended.py
+++ b/tests/news/test_rating_storage_extended.py
@@ -325,22 +325,6 @@ class TestSQLRatingStorageList:
mock_query.filter_by.assert_called()
- def test_list_with_card_id_filter(self, mock_session):
- """Lists ratings filtered by card_id (backward compat)."""
- from local_deep_research.news.rating_system.storage import (
- SQLRatingStorage,
- )
-
- mock_query = MagicMock()
- mock_query.filter_by.return_value.order_by.return_value.limit.return_value.offset.return_value.all.return_value = []
- mock_session.query.return_value = mock_query
-
- storage = SQLRatingStorage(mock_session)
- storage.list(filters={"card_id": "card1"})
-
- # Should accept card_id for backward compatibility
- assert True
-
class TestGetUserRating:
"""Tests for get_user_rating() method."""
@@ -529,22 +513,6 @@ class TestGetUserRatings:
assert len(result) == 1
- def test_gets_user_ratings_by_type(self, mock_session):
- """Gets user ratings filtered by type."""
- from local_deep_research.news.rating_system.storage import (
- SQLRatingStorage,
- )
-
- mock_query = MagicMock()
- mock_query.filter_by.return_value.order_by.return_value.limit.return_value.offset.return_value.all.return_value = []
- mock_session.query.return_value = mock_query
-
- storage = SQLRatingStorage(mock_session)
- storage.get_user_ratings("user1", rating_type="quality")
-
- # Should filter by rating_type
- assert True
-
def test_respects_limit(self, mock_session):
"""Respects limit parameter."""
from local_deep_research.news.rating_system.storage import (
diff --git a/tests/web_search_engines/engines/test_parallel_search_coverage.py b/tests/web_search_engines/engines/test_parallel_search_coverage.py
index 01f5f61773..ef1f916d86 100644
--- a/tests/web_search_engines/engines/test_parallel_search_coverage.py
+++ b/tests/web_search_engines/engines/test_parallel_search_coverage.py
@@ -50,26 +50,6 @@ class TestShutdownGlobalExecutor:
with patch(f"{MODULE}._global_executor", None):
shutdown_global_executor(wait=False) # should not raise
- def test_shutdown_handles_exception_and_sets_none(self):
- """shutdown_global_executor sets _global_executor to None even on error."""
- from local_deep_research.web_search_engines.engines import (
- parallel_search_engine as mod,
- )
-
- mock_executor = Mock()
- mock_executor.shutdown.side_effect = RuntimeError("boom")
-
- original = mod._global_executor
- mod._global_executor = mock_executor
- try:
- mod.shutdown_global_executor(wait=False)
- finally:
- mod._global_executor = original or mod._get_global_executor()
-
- # The finally block should have set it to None (we restored it above)
- # The important thing is no exception propagated
- assert True
-
# ---------------------------------------------------------------------------
# _get_global_executor failure path