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.

cleanup: remove redundant TESTING=1 from tests (#1257)

LearningCircuit388297e598a7
diff --git a/tests/auth_tests/run_auth_tests.py b/tests/auth_tests/run_auth_tests.py
index cf03fb587c..bb8fc6c1b6 100755
--- a/tests/auth_tests/run_auth_tests.py
+++ b/tests/auth_tests/run_auth_tests.py
@@ -13,7 +13,7 @@ project_root = str(Path(__file__).parent.parent.parent.resolve())
sys.path.insert(0, project_root)
# Set test environment
-os.environ["TESTING"] = "1"
+# Note: PYTEST_CURRENT_TEST is automatically set by pytest
os.environ["LDR_HTTPS_TESTING"] = "1"
diff --git a/tests/conftest.py b/tests/conftest.py
index ada551971c..9cbbf59a82 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -102,9 +102,9 @@ def app(temp_data_dir, monkeypatch):
# Override data directory
monkeypatch.setenv("LDR_DATA_DIR", str(temp_data_dir))
- # Set testing environment
- monkeypatch.setenv("TESTING", "1")
# Use fallback LLM for tests
+ # Note: PYTEST_CURRENT_TEST is automatically set by pytest, which
+ # app_factory.py checks to disable secure cookies for testing
monkeypatch.setenv("LDR_USE_FALLBACK_LLM", "1")
# Create app with testing config