[skip ci] Add test comments (#9465)

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

View File

@ -1089,6 +1089,11 @@ class TestInsertInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_insert_with_invalid_field_value(self, connect, collection, get_field_int_value):
"""
target: test insert with invalid field
method: insert with invalid field value
expected: raise exception
"""
field_value = get_field_int_value
tmp_entity = ut.update_field_type(copy.deepcopy(default_entity), 'int64', field_value)
with pytest.raises(Exception):