[skip ci] Add test comments (#9248)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2021-10-05 11:12:36 +08:00 committed by GitHub
parent bb3d315b01
commit e6aa24c019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1042,6 +1042,11 @@ class TestInsertInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_insert_with_invalid_collection_name(self, connect, get_collection_name):
"""
target: test insert with invalid scenario
method: insert with invalid collection name
expected: raise exception
"""
collection_name = get_collection_name
with pytest.raises(Exception):
connect.insert(collection_name, default_entity)