mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Documentation for Datasette() constructor, closes #1563
This commit is contained in:
parent
3a0cae4d7f
commit
7c8f8aa209
2 changed files with 22 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def test_datasette_setting(datasette, setting, expected):
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_datasette_constructor():
|
||||
ds = Datasette(memory=True)
|
||||
ds = Datasette()
|
||||
databases = (await ds.client.get("/-/databases.json")).json()
|
||||
assert databases == [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue