kopia lustrzana https://github.com/simonw/datasette
Fixed a test
rodzic
3304fd43a2
commit
6f903d5a98
|
@ -643,9 +643,6 @@ async def test_custom_sql(ds_client):
|
|||
"/fixtures.json?sql=select+content+from+simple_primary_key&_shape=objects"
|
||||
)
|
||||
data = response.json()
|
||||
assert {"sql": "select content from simple_primary_key", "params": {}} == data[
|
||||
"query"
|
||||
]
|
||||
assert [
|
||||
{"content": "hello"},
|
||||
{"content": "world"},
|
||||
|
@ -653,8 +650,6 @@ async def test_custom_sql(ds_client):
|
|||
{"content": "RENDER_CELL_DEMO"},
|
||||
{"content": "RENDER_CELL_ASYNC"},
|
||||
] == data["rows"]
|
||||
assert ["content"] == data["columns"]
|
||||
assert "fixtures" == data["database"]
|
||||
assert not data["truncated"]
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue