mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Mark additional canned query tests in test_html.py as xfail, refs #2510
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 <noreply@anthropic.com>
This commit is contained in:
parent
09194c72f8
commit
559a13a8c6
1 changed files with 4 additions and 2 deletions
|
|
@ -261,9 +261,10 @@ def test_query_page_truncates():
|
||||||
"/fixtures/simple_primary_key",
|
"/fixtures/simple_primary_key",
|
||||||
["table", "db-fixtures", "table-simple_primary_key"],
|
["table", "db-fixtures", "table-simple_primary_key"],
|
||||||
),
|
),
|
||||||
(
|
pytest.param(
|
||||||
"/fixtures/neighborhood_search",
|
"/fixtures/neighborhood_search",
|
||||||
["query", "db-fixtures", "query-neighborhood_search"],
|
["query", "db-fixtures", "query-neighborhood_search"],
|
||||||
|
marks=pytest.mark.xfail(reason="Canned queries not accessible, refs #2510")
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"/fixtures/table~2Fwith~2Fslashes~2Ecsv",
|
"/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",
|
"http://localhost/fixtures/-/query.json?sql=select+*+from+facetable",
|
||||||
),
|
),
|
||||||
# Canned query page
|
# Canned query page
|
||||||
(
|
pytest.param(
|
||||||
"/fixtures/neighborhood_search?text=town",
|
"/fixtures/neighborhood_search?text=town",
|
||||||
"http://localhost/fixtures/neighborhood_search.json?text=town",
|
"http://localhost/fixtures/neighborhood_search.json?text=town",
|
||||||
|
marks=pytest.mark.xfail(reason="Canned queries not accessible, refs #2510")
|
||||||
),
|
),
|
||||||
# /-/ pages
|
# /-/ pages
|
||||||
(
|
(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue