mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Update test to handle Python 3.10 error message differenc, refs #1482
This commit is contained in:
parent
98dcabccbb
commit
1163da8916
1 changed files with 1 additions and 1 deletions
|
|
@ -353,4 +353,4 @@ def test_magic_parameters_cannot_be_used_in_arbitrary_queries(magic_parameters_c
|
|||
"/data.json?sql=select+:_header_host&_shape=array"
|
||||
)
|
||||
assert 400 == response.status
|
||||
assert "You did not supply a value for binding 1." == response.json["error"]
|
||||
assert response.json["error"].startswith("You did not supply a value for binding")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue