Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
MeredithAnya committed Nov 21, 2024
1 parent 91a2fda commit bd6ffd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/admin/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,11 @@ def test_query_trace_bad_query(admin_api: FlaskClient) -> None:
)
assert response.status_code == 400
data = json.loads(response.data)
# error message is different in CH versions 23.8 and 24.3
assert (
"Exception: Unknown expression or function identifier"
in data["error"]["message"]
or "Exception: Missing columns" in data["error"]["message"]
)
assert "clickhouse" == data["error"]["type"]

Expand Down

0 comments on commit bd6ffd3

Please sign in to comment.