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

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2021-10-02 21:26:04 +08:00 committed by GitHub
parent 197ca2d6b6
commit 111f6e4f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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