[skip ci] Add comments for insert test case (#9416)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/9421/head
binbin 2021-10-07 20:36:58 +08:00 committed by GitHub
parent d296ba1add
commit bd76020557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1084,6 +1084,11 @@ class TestInsertInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_insert_with_invalid_field_entity_value(self, connect, collection, get_field_vectors_value):
"""
target: test insert with invalid entity
method: insert with invalid entity value
expected: raise exception
"""
tmp_entity = copy.deepcopy(default_entity)
src_vector = tmp_entity[-1]["values"]
src_vector[0][1] = get_field_vectors_value