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

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/9033/head
binbin 2021-10-01 20:49:43 +08:00 committed by GitHub
parent 003905b9aa
commit c49b711b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -2501,6 +2501,11 @@ class TestHasCollectionInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_has_collection_with_none_collection_name(self, connect):
"""
target: test list collections with invalid scenario
method: show collection with no collection name
expected: raise exception
"""
collection_name = None
with pytest.raises(Exception) as e:
connect.has_collection(collection_name)