[skip ci] Add test comments (#9346)

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

View File

@ -1163,6 +1163,11 @@ class TestInsertInvalidBinary(object):
@pytest.mark.tags(CaseLabel.L2)
def test_insert_with_invalid_field_entity_value(self, connect, binary_collection, get_field_vectors_value):
"""
target: test insert with invalid scenario
method: insert with invalid field entity
expected: raise exception
"""
tmp_entity = copy.deepcopy(default_binary_entity)
src_vectors = tmp_entity[-1]["values"]
src_vectors[0] = get_field_vectors_value