Skip to content

Commit

Permalink
test: update test cases (#37476)
Browse files Browse the repository at this point in the history
pr: #36841

Signed-off-by: nico <[email protected]>
  • Loading branch information
NicoYuan1986 authored Nov 7, 2024
1 parent 3499246 commit a3c1fc1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/python_client/testcases/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,8 @@ def test_query_expr_wrong_term_keyword(self):
collection_w.query(expr_1, check_task=CheckTasks.err_res, check_items=error_1)

expr_3 = f'{ct.default_int64_field_name} in not [1, 2]'
error_3 = {ct.err_code: 65535, ct.err_msg: "cannot parse expression: int64 in not [1, 2], error: "
"contains_any operation are only supported explicitly "
"specified element, got: not[1,2]"}
error_3 = {ct.err_code: 65535, ct.err_msg: "cannot parse expression: int64 in not [1, 2], "
"error: value 'not[1,2]' in list cannot be a non-const expression"}
collection_w.query(expr_3, check_task=CheckTasks.err_res, check_items=error_3)

@pytest.mark.tags(CaseLabel.L1)
Expand Down

0 comments on commit a3c1fc1

Please sign in to comment.