mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci] Add comments for test case (#9026)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
parent
003905b9aa
commit
c49b711b91
@ -2501,6 +2501,11 @@ class TestHasCollectionInvalid(object):
|
|||||||
|
|
||||||
@pytest.mark.tags(CaseLabel.L2)
|
@pytest.mark.tags(CaseLabel.L2)
|
||||||
def test_has_collection_with_none_collection_name(self, connect):
|
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
|
collection_name = None
|
||||||
with pytest.raises(Exception) as e:
|
with pytest.raises(Exception) as e:
|
||||||
connect.has_collection(collection_name)
|
connect.has_collection(collection_name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user