mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for insert case (#7812)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>pull/7839/head
parent
db9074ab24
commit
9a41c3bfa1
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue