From a3c1fc1848e7e7203dbca07489fe34c846630713 Mon Sep 17 00:00:00 2001 From: nico <109071306+NicoYuan1986@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:56:25 +0800 Subject: [PATCH] test: update test cases (#37476) pr: #36841 Signed-off-by: nico --- tests/python_client/testcases/test_query.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/python_client/testcases/test_query.py b/tests/python_client/testcases/test_query.py index d388b06a15..2585da29a8 100644 --- a/tests/python_client/testcases/test_query.py +++ b/tests/python_client/testcases/test_query.py @@ -443,9 +443,8 @@ class TestQueryParams(TestcaseBase): 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)