Update test to handle Python 3.10 error message differenc, refs #1482

pull/1484/head
Simon Willison 2021-10-08 17:32:52 -07:00
rodzic 98dcabccbb
commit 1163da8916
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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")