mirror of https://github.com/milvus-io/milvus.git
[skip ci] Improve comments fot test case (#9418)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>pull/9421/head
parent
dafce54f35
commit
7844c95f83
|
@ -1054,6 +1054,11 @@ class TestInsertInvalid(object):
|
||||||
|
|
||||||
@pytest.mark.tags(CaseLabel.L2)
|
@pytest.mark.tags(CaseLabel.L2)
|
||||||
def test_insert_with_invalid_partition_name(self, connect, collection, get_tag_name):
|
def test_insert_with_invalid_partition_name(self, connect, collection, get_tag_name):
|
||||||
|
"""
|
||||||
|
target: test insert with invalid scenario
|
||||||
|
method: insert with invalid partition name
|
||||||
|
expected: raise exception
|
||||||
|
"""
|
||||||
tag_name = get_tag_name
|
tag_name = get_tag_name
|
||||||
connect.create_partition(collection, default_tag)
|
connect.create_partition(collection, default_tag)
|
||||||
if tag_name is not None:
|
if tag_name is not None:
|
||||||
|
|
Loading…
Reference in New Issue