simple_primary_key now uses integer id, helps close #2458

This commit is contained in:
Simon Willison 2025-02-01 21:42:49 -08:00
commit 4dff846271
7 changed files with 72 additions and 60 deletions

View file

@ -194,7 +194,7 @@ async def test_hook_render_cell_demo(ds_client):
soup = Soup(response.text, "html.parser")
td = soup.find("td", {"class": "col-content"})
assert json.loads(td.string) == {
"row": {"id": "4", "content": "RENDER_CELL_DEMO"},
"row": {"id": 4, "content": "RENDER_CELL_DEMO"},
"column": "content",
"table": "simple_primary_key",
"database": "fixtures",