mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
In-memory _schemas database tracking schemas of attached tables, closes #1150
This commit is contained in:
parent
5e9895c67f
commit
ebc7aa287c
8 changed files with 279 additions and 6 deletions
|
|
@ -293,7 +293,7 @@ def test_hook_extra_body_script(app_client, path, expected_extra_body_script):
|
|||
|
||||
def test_hook_asgi_wrapper(app_client):
|
||||
response = app_client.get("/fixtures")
|
||||
assert "fixtures" == response.headers["x-databases"]
|
||||
assert "_schemas, fixtures" == response.headers["x-databases"]
|
||||
|
||||
|
||||
def test_hook_extra_template_vars(restore_working_directory):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue