mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Show response.text on test_upsert failure, refs #2356
This commit is contained in:
parent
45c27603d2
commit
93534fd3d0
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ async def test_upsert(ds_write, initial, input, expected_rows, should_return):
|
||||||
json=input,
|
json=input,
|
||||||
headers=_headers(token),
|
headers=_headers(token),
|
||||||
)
|
)
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200, response.text
|
||||||
assert response.json()["ok"] is True
|
assert response.json()["ok"] is True
|
||||||
|
|
||||||
# Analytics event
|
# Analytics event
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue