mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Add new --internal internal.db option, deprecate legacy _internal database
Refs: - #2157 --------- Co-authored-by: Simon Willison <swillison@gmail.com>
This commit is contained in:
parent
d28f12092d
commit
92b8bf38c0
13 changed files with 108 additions and 90 deletions
|
|
@ -329,7 +329,7 @@ def test_hook_extra_body_script(app_client, path, expected_extra_body_script):
|
|||
@pytest.mark.asyncio
|
||||
async def test_hook_asgi_wrapper(ds_client):
|
||||
response = await ds_client.get("/fixtures")
|
||||
assert "_internal, fixtures" == response.headers["x-databases"]
|
||||
assert "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