[skip ci] Add test comments (#8952)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2021-09-30 17:04:12 +08:00 committed by GitHub
parent e566c6809b
commit 85d1d1472b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2398,6 +2398,11 @@ class TestDropCollectionInvalid(object):
@pytest.mark.tags(CaseLabel.L2)
def test_drop_collection_with_invalid_collection_name(self, connect, get_collection_name):
"""
target: test drop invalid collection
method: drop collection with invalid collection name
expected: raise exception
"""
collection_name = get_collection_name
with pytest.raises(Exception) as e:
connect.has_collection(collection_name)