Delete pymilvus case test_query_expr_all_term_array (#7979)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/7983/head
ThreadDao 2021-09-15 17:13:48 +08:00 committed by GitHub
parent 2a528e31d0
commit a6a22eba6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 18 deletions

View File

@ -171,24 +171,6 @@ class TestQueryBase:
assert res[1][default_float_field_name] == binary_entities[1]["values"][0]
assert res[2][ut.default_float_vec_field_name] == binary_entities[2]["values"][0]
@pytest.mark.tags(CaseLabel.L0)
def test_query_expr_all_term_array(self, connect, collection):
"""
target: test query with all array term expr
method: query with all array value
expected: verify query result
"""
entities, ids = init_data(connect, collection)
assert len(ids) == ut.default_nb
connect.load_collection(collection)
term_expr = f'{default_int_field_name} in {ids}'
res = connect.query(collection, term_expr, output_fields=["*", "%"])
assert len(res) == ut.default_nb
for _id, index in enumerate(ids):
if res[index][default_int_field_name] == entities[0]["values"][index]:
assert res[index][default_float_field_name] == entities[1]["values"][index]
ut.assert_equal_vector(res[index][ut.default_float_vec_field_name], entities[2]["values"][index])
@pytest.mark.tags(CaseLabel.L0)
def test_query_output_field_empty(self, connect, collection):
"""