[skip ci] Add comments for collection test case (#8381)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/8397/head
binbin 2021-09-23 15:19:54 +08:00 committed by GitHub
parent 9d567c5a36
commit 04ac27b552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -2644,6 +2644,11 @@ class TestLoadCollection:
@pytest.mark.tags(CaseLabel.L2)
def test_load_collection_not_existed(self, connect, collection):
"""
target: test load invalid collection
method: load not existed collection
expected: raise exception
"""
collection_name = gen_unique_str(uid_load)
try:
connect.load_collection(collection_name)
@ -2668,8 +2673,8 @@ class TestLoadCollection:
def test_release_collection_not_load(self, connect, collection):
"""
target: test release collection without load
method:
expected: raise exception
method: release collection without load
expected: release successfully
"""
result = connect.insert(collection, default_entities)
assert len(result.primary_keys) == default_nb