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

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/7872/head
binbin 2021-09-14 11:45:47 +08:00 committed by GitHub
parent b5923ff27d
commit 97af25bc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1185,6 +1185,11 @@ class TestInsertInvalidBinary(object):
@pytest.mark.tags(CaseLabel.L2)
def test_insert_with_invalid_field_entities_value(self, connect, binary_collection, get_field_vectors_value):
"""
target: test insert with invalid field
method: insert with invalid field value
expected: raise exception
"""
tmp_entities = copy.deepcopy(default_binary_entities)
src_vector = tmp_entities[-1]["values"]
src_vector[1] = get_field_vectors_value