Test for ?_extra=count, refs #262

pull/2221/head
Simon Willison 2024-01-08 13:13:53 -08:00
rodzic 0b2c6a7ebd
commit 2ff4d4a60a
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -1378,6 +1378,16 @@ async def test_col_nocol_errors(ds_client, path, expected_error):
"truncated": False,
},
),
(
"count",
{
"ok": True,
"next": None,
"rows": [{"id": "1", "content": "hey", "content2": "world"}],
"truncated": False,
"count": 1,
},
),
),
)
async def test_table_extras(ds_client, extra, expected_json):