From 9450d2e941d4e0ceb2327c894bb5b8b93de83778 Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:36:14 +0800 Subject: [PATCH] [skip ci]Refine comments in tests (#8726) Signed-off-by: yanliang567 --- tests/python_client/testcases/test_partition.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/python_client/testcases/test_partition.py b/tests/python_client/testcases/test_partition.py index 82775ae91b..9302509b1a 100644 --- a/tests/python_client/testcases/test_partition.py +++ b/tests/python_client/testcases/test_partition.py @@ -75,11 +75,11 @@ class TestCreateBase: @pytest.mark.tags(CaseLabel.L2) def test_create_partition_collection_not_existed(self, connect): - ''' - target: test create partition, its owner collection name not existed in db, check status returned - method: call function: create_partition - expected: status not ok - ''' + """ + target: verify the response when creating a partition with a non_existing collection + method: create a partition with a non_existing collection + expected: raise an exception + """ collection_name = gen_unique_str() try: connect.create_partition(collection_name, default_tag)