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.

fix: move PREFERRED_URL_SCHEME override to test fixture

LearningCircuit0065626203bc
diff --git a/tests/conftest.py b/tests/conftest.py
index 624cc4ff4a..ada551971c 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -113,6 +113,9 @@ def app(temp_data_dir, monkeypatch):
app.config["WTF_CSRF_ENABLED"] = False
app.config["WTF_CSRF_CHECK_DEFAULT"] = False
app.config["SESSION_COOKIE_SECURE"] = False # For testing without HTTPS
+ # Override PREFERRED_URL_SCHEME so test client defaults to HTTP, not HTTPS
+ # Tests that need HTTPS should explicitly set environ_base={"wsgi.url_scheme": "https"}
+ app.config["PREFERRED_URL_SCHEME"] = "http"
# Initialize auth database in test directory
init_auth_database()