From 9b03289e3ac68295aa28966eafb1341c1b9d956b Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 26 Feb 2026 15:05:43 -0800 Subject: [PATCH] Tests now use Datasette 1.0a25+ --- pyproject.toml | 2 +- tests/test_insert.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c037918..676ff9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dev = [ "pytest-httpx", "cogapp", "pytest-mock", - "datasette>=1.0a2", + "datasette>=1.0a25", ] [tool.uv.build-backend] diff --git a/tests/test_insert.py b/tests/test_insert.py index 64f38e7..aa28583 100644 --- a/tests/test_insert.py +++ b/tests/test_insert.py @@ -271,7 +271,7 @@ async def test_insert_against_datasette( "insert into table1 (a, b, c) values (1, 2, 3), (4, 5, 6)" ) - token = ds.create_token("actor") + token = await ds.create_token("actor") # These are useful with pytest --pdb to see what happened datasette_requests = []