From b077584339aecfbc08ef723b77dbabec5e77c782 Mon Sep 17 00:00:00 2001 From: ThreadDao Date: Mon, 27 Sep 2021 20:56:10 +0800 Subject: [PATCH] [skip ci] Add comment to load case (#8719) Signed-off-by: ThreadDao --- tests/python_client/testcases/test_collection.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/python_client/testcases/test_collection.py b/tests/python_client/testcases/test_collection.py index 23ca4a84d8..b1c885307f 100644 --- a/tests/python_client/testcases/test_collection.py +++ b/tests/python_client/testcases/test_collection.py @@ -2718,6 +2718,11 @@ class TestLoadCollection: @pytest.mark.tags(CaseLabel.L2) def test_load_collection_repeatedly(self, connect, collection): + """ + target: test load collection repeatedly + method: load collection twice + expected: No exception + """ result = connect.insert(collection, cons.default_entities) assert len(result.primary_keys) == default_nb connect.flush([collection]) @@ -3002,6 +3007,11 @@ class TestLoadCollectionInvalid(object): @pytest.mark.tags(CaseLabel.L2) def test_release_collection_with_invalid_collection_name(self, connect, get_collection_name): + """ + target: test release invalid collection + method: release collection with invalid name + expected: raise exception + """ collection_name = get_collection_name with pytest.raises(Exception) as e: connect.release_collection(collection_name)