mirror of https://github.com/milvus-io/milvus.git
[skip ci]Update typo test comments (#8543)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>pull/8569/head
parent
5e87c3a932
commit
66ba167b0b
|
@ -41,8 +41,8 @@ class TestPartitionParams(TestcaseBase):
|
||||||
@pytest.mark.parametrize("partition_name", [""])
|
@pytest.mark.parametrize("partition_name", [""])
|
||||||
def test_partition_empty_name(self, partition_name):
|
def test_partition_empty_name(self, partition_name):
|
||||||
"""
|
"""
|
||||||
target: verify create a partition with empyt name
|
target: verify create a partition with empty name
|
||||||
method: 1. create a partition empty none name
|
method: 1. create a partition with empty name
|
||||||
expected: 1. raise exception
|
expected: 1. raise exception
|
||||||
"""
|
"""
|
||||||
# create a collection
|
# create a collection
|
||||||
|
@ -99,10 +99,10 @@ class TestPartitionParams(TestcaseBase):
|
||||||
@pytest.mark.tags(CaseLabel.L1)
|
@pytest.mark.tags(CaseLabel.L1)
|
||||||
def test_partition_dup_name(self):
|
def test_partition_dup_name(self):
|
||||||
"""
|
"""
|
||||||
target: verify create partitions with duplicate name
|
target: verify create partitions with duplicate names
|
||||||
method: 1. create partitions with duplicate name
|
method: 1. create partitions with duplicate names
|
||||||
expected: 1. create successfully
|
expected: 1. create successfully
|
||||||
2. the same partition returned with diff object id
|
2. the same partition returned with diff object ids
|
||||||
"""
|
"""
|
||||||
# create a collection
|
# create a collection
|
||||||
collection_w = self.init_collection_wrap()
|
collection_w = self.init_collection_wrap()
|
||||||
|
@ -164,7 +164,7 @@ class TestPartitionParams(TestcaseBase):
|
||||||
def test_partition_max_length_name(self):
|
def test_partition_max_length_name(self):
|
||||||
"""
|
"""
|
||||||
target: verify create a partition with max length(256) name
|
target: verify create a partition with max length(256) name
|
||||||
method: 1. create a partition with max length names
|
method: 1. create a partition with max length name
|
||||||
expected: 1. raise exception
|
expected: 1. raise exception
|
||||||
"""
|
"""
|
||||||
# create collection
|
# create collection
|
||||||
|
|
Loading…
Reference in New Issue