From 559a13a8c649c83d5176bb27a84e55b6a170a7a2 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 24 Oct 2025 16:21:12 -0700 Subject: [PATCH] Mark additional canned query tests in test_html.py as xfail, refs #2510 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Marked specific parameter combinations that test canned queries: - test_css_classes_on_body with /fixtures/neighborhood_search - test_alternate_url_json with /fixtures/neighborhood_search 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/test_html.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_html.py b/tests/test_html.py index 4538b35c..8875ede2 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -261,9 +261,10 @@ def test_query_page_truncates(): "/fixtures/simple_primary_key", ["table", "db-fixtures", "table-simple_primary_key"], ), - ( + pytest.param( "/fixtures/neighborhood_search", ["query", "db-fixtures", "query-neighborhood_search"], + marks=pytest.mark.xfail(reason="Canned queries not accessible, refs #2510") ), ( "/fixtures/table~2Fwith~2Fslashes~2Ecsv", @@ -1033,9 +1034,10 @@ async def test_trace_correctly_escaped(ds_client): "http://localhost/fixtures/-/query.json?sql=select+*+from+facetable", ), # Canned query page - ( + pytest.param( "/fixtures/neighborhood_search?text=town", "http://localhost/fixtures/neighborhood_search.json?text=town", + marks=pytest.mark.xfail(reason="Canned queries not accessible, refs #2510") ), # /-/ pages (