mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
WIP implementation of #1179
This commit is contained in:
parent
b6a7b58fa0
commit
9564ce08cc
3 changed files with 17 additions and 2 deletions
|
|
@ -411,7 +411,7 @@ def test_hook_register_output_renderer_no_parameters(app_client):
|
|||
|
||||
|
||||
def test_hook_register_output_renderer_all_parameters(app_client):
|
||||
response = app_client.get("/fixtures/facetable.testall")
|
||||
response = app_client.get("/fixtures/facetable.testall?_ignore=1")
|
||||
assert 200 == response.status
|
||||
# Lots of 'at 0x103a4a690' in here - replace those so we can do
|
||||
# an easy comparison
|
||||
|
|
@ -454,6 +454,7 @@ def test_hook_register_output_renderer_all_parameters(app_client):
|
|||
"request": "<datasette.utils.asgi.Request object at 0xXXX>",
|
||||
"view_name": "table",
|
||||
"1+1": 2,
|
||||
"full_path": "/fixtures/facetable?_ignore=1",
|
||||
}
|
||||
# Test that query_name is set correctly
|
||||
query_response = app_client.get("/fixtures/pragma_cache_size.testall")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue