~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix(tests): auto-skip @pytest.mark.integration tests in CI mock mode (#3261)
LearningCircuitda41a160682a
diff --git a/tests/conftest.py b/tests/conftest.pyindex b87f3501a9..ff06be1985 100644--- a/tests/conftest.py+++ b/tests/conftest.py@@ -153,6 +153,10 @@ def pytest_configure(config):"markers","requires_llm: mark test as requiring a real LLM (skipped when LDR_TESTING_WITH_MOCKS=true)",)+ config.addinivalue_line(+ "markers",+ "integration: mark test as an integration test requiring live network access (skipped when LDR_TESTING_WITH_MOCKS=true)",+ )# In CI, LDR_TESTING_WITH_MOCKS is set via Docker environment variables# For local testing, set it here if not already setif not os.environ.get("LDR_TESTING_WITH_MOCKS"):@@ -167,6 +171,17 @@ def skip_if_no_real_llm(request):pytest.skip("Test requires real LLM but running with mocks")[email protected](autouse=True)+def skip_integration_in_mock_mode(request):+ """Skip integration tests when running with mocks (CI default)."""+ if request.node.get_closest_marker("integration"):+ if os.environ.get("LDR_TESTING_WITH_MOCKS", "true").lower() == "true":+ pytest.skip(+ "Integration test skipped in mock mode "+ "(set LDR_TESTING_WITH_MOCKS=false to run)"+ )++@pytest.fixturedef temp_data_dir():"""Create a temporary data directory for testing."""