[skip ci] Add comment for insert case (#7812)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/7839/head
binbin 2021-09-13 20:15:02 +08:00 committed by GitHub
parent db9074ab24
commit 9a41c3bfa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1173,6 +1173,11 @@ class TestInsertInvalidBinary(object):
@pytest.mark.tags(CaseLabel.L2)
def test_insert_with_invalid_field_type(self, connect, binary_collection, get_field_type):
"""
target: test insert with invalid field type
method: insert with invalid field type
expected: raise exception
"""
field_type = get_field_type
tmp_entity = update_field_type(copy.deepcopy(default_binary_entity), 'int64', field_type)
with pytest.raises(Exception):