mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
1fda4806d4
commit
234230e595
6 changed files with 69 additions and 60 deletions
|
|
@ -75,7 +75,9 @@ def canned_write_immutable_client():
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_canned_query_with_named_parameter(ds_client):
|
||||
response = await ds_client.get("/fixtures/neighborhood_search.json?text=town")
|
||||
response = await ds_client.get(
|
||||
"/fixtures/neighborhood_search.json?text=town&_shape=arrays"
|
||||
)
|
||||
assert response.json()["rows"] == [
|
||||
["Corktown", "Detroit", "MI"],
|
||||
["Downtown", "Los Angeles", "CA"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue