Fix WebUI search results

This commit is contained in:
george
2026-06-06 12:38:17 +01:00
parent cac6a858d0
commit f3509a363e
3 changed files with 39 additions and 55 deletions
+7
View File
@@ -10,3 +10,10 @@ def test_templates_do_not_slice_filter_results_inline():
offenders.append(str(template))
assert offenders == []
def test_search_template_does_not_require_browser_api_client():
content = Path("webui/app/templates/search.html").read_text()
assert "window.docsApiClient" not in content
assert "{% for result in results %}" in content